-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Arjun Shankar on 3/26/2006 10:00 PM: > Hi! > I have noticed that in the 'ls' program, there is no option to show > the size of the _contents_ of a directory. Would it not make more > sense if the program showed the size of a directory as - "it's size > plus the size of files and subdirectories", where the size of the > subdirectories would also be calculated in the same way.
Thanks for the request - however, what you describe is already available in the du (diskusage) utility. This feature will probably never be added to ls, because it is much slower to traverse all subdirectories and do additional stats in order to find the total size contained in a directory. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEKSmC84KuGfSFAYARAsUuAKDFFMy7ZUiBOujBzyrFWjz4QTSIrgCdHlOR LjW7znpRjRGz+dEOKGKUaGI= =z5kk -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils