
Folder size incl files in subfolders - any way to show it?
Is there a way to get a directory listing in which the size of a folder's
contents is shown (ie the sum of the files in the folder itself, and all the
files in its subfolders)? 'ls' can't do it, AFAIK. It always shows the
size of a directory as '512', whether it contains no files or 50MB of files.
This makes it very difficult for me as sysadmin to see quickly how space on
our server is being used up.
BTW, Windows suffers from this same problem. By choosing right clicking on
a folder in Windows Explorer, and choosing Properties, you can see the size
of all the files in the folder and its subfolders. What would be really
nice is if it showed up right in Windows Explorer, so you could see at a
glance what folders where chewing up all the space. I've found an excellent
third party app that does this: TreeSize Pro by Jam Software
< http://www.**-**.com/ ;
BTW2, the MacOS has had a "compute folder sizes" feature built-in for
*years*...
-Gerry