Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Wondered then a question. When selecting a few folders in nautilus which, in turn, have the files and other directories, which, in turn, is also the files, in nautilus by selecting "properties" from the context menu shows only the number of all objects inside, ie . considers the number of files together, and the number of subdirectories. How to make shown separately the number of files and number of directories, ie, how many of those and those?

share|improve this question

Edit: This doesn't answer the question, see comments.

I suppose you are searching for the information in the status area of nautilus. This is a screenshot from Ubuntu 10.10:

enter image description here

share|improve this answer
No, you don't understand. I need an information about an amount files and directories separately(not just the amont of all items), like f.e. in dolphin, to see an information how many files and how many subdirectories in direcory. – rulet Jan 8 '12 at 14:03
Oh sorry. I don't think this is possible with Nautilus. I could provide a solution with command line, but I don't think this is what you are searching for. – lumbric Jan 8 '12 at 17:45
Ok, give a command line solution. ...But, still, its very strange that nautilus cannot do this, maybe it can do this with some extension? – rulet Jan 8 '12 at 18:20
It seems to me to be a very uncommon problem, so I would expect to find any extensions or ready solutions. But I don't know, just guessing. – lumbric Jan 8 '12 at 22:54

This is not exactly what you asked for, but you can use the command line in order to count folders and files seperately:

This will find the number of folders including the one given by <path to dir>:

find <path to dir> -type d|wc -l

This counts the number of regular files, symlinks etc. are not counted here:

find <path to dir> -type f|wc -l
share|improve this answer
Thanks for the answer. – rulet Jan 8 '12 at 23:31
If you find the answer useful, you can upvote it or accept it or both... ;) – lumbric Jan 9 '12 at 21:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.