1 Oct
2004
1 Oct
'04
17:42
On Friday 01 October 2004 01:37 pm, steve-ss wrote:
I want to see the size of a directory. That's the directory and all its contents as a single number of bytes. It seems quite basic but man, info and google/linux have given me nothing. Is it possible?
The command is du (I guess for disk usage). du -s gives you the number of bytes in a given directory counting all subdirectories. du --max-depth will give you the sizes of all the directories in a given directory. The -h options gives human readable output (KB, MB...). Brana