directory size
how can I tell the size of a directory, including all files, but not subdirs? I would prefer not to ls -ls and add all the sizes. is there a command that will provide usage information (similar to what df provides for filesystems) for individual directories?
then..how can I determine the size of a directory including all files and subdirectory contents (recursively)?
if df tells me that /tmp is 80% consumed and I find it to contain 6 subdirectories, it would be helpful to be able to determine the size of each subdirectory, individually. thanks in advance.
|