Dear Sir,

This isn't quite a "bug", but it is something I believe would be very 
useful.

In "ls -l", it would often be really helpful if, instead of giving the 
size of the directory itself, (which is rarely informative), we could 
have the total size contained within that directory.
The infomation I seek can be obtained in a separate command via:
du -ha --max-depth=1
However, this is not as convenient nor as clear.

I would suggest something like "ls --cumulative", or even changing the 
default behaviour of "ls -l"


Eg - CURRENT behaviour:

[rjn@toffee-pecan rjn]$ ls -l

-rw-rw-r--    1 rjn      rjn         44073 Jun 26 23:23 2961.jpg
drwxr-xr-x    4 rjn      rjn           112 Aug 11 23:20 backup/
drwxr-xrwx    3 rjn      rjn           696 Aug 12 00:26 Desktop/
-rw-rw-r--    1 rjn      rjn        154580 Jul 18 00:27 example.au
-rw-rw-rw-    1 rjn      rjn          6925 Jul 15 00:51 mandrake82log


Eg - PROPOSED behaviour:

[rjn@toffee-pecan rjn]$ ls -l

-rw-rw-r--    1 rjn      rjn         44073 Jun 26 23:23 2961.jpg
drwxr-xr-x    4 rjn      rjn          500M Aug 11 23:20 backup/
drwxr-xrwx    3 rjn      rjn          350M Aug 12 00:26 Desktop/
-rw-rw-r--    1 rjn      rjn        154580 Jul 18 00:27 example.au
-rw-rw-rw-    1 rjn      rjn          6925 Jul 15 00:51 mandrake82log


I am sorry if this is an old idea and has already been suggested. I do 
believe that it is a good one: having used Linux for 1 year now, this is 
the only feature I miss from MS Windows.

Sincerely

Richard

P.S. Thank you very much for GNU - it has made a huge difference to me!







_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to