direcotory size, du?

Rashkae ubuntu at tigershaunt.com
Mon Mar 15 13:55:03 UTC 2010


Vadkan Jozsef wrote:
> When I:
> 
> du -h . --max-depth=1 > stat.txt
> 
> i get false directory sizes.
> 
> Is there a way to list the size of the directories?
> 
> Thank you!
> 
> 

I'm not sure what you mean by false directory sizes.  If you want the 
space used by files in that directory without adding any subdirectories, 
then use -S




More information about the ubuntu-users mailing list