bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"ls" - RFE


From: Richard Neill
Subject: "ls" - RFE
Date: Mon, 12 Aug 2002 01:36:45 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722

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:

address@hidden 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:

address@hidden 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!









reply via email to

[Prev in Thread] Current Thread [Next in Thread]