coreutils
[Top][All Lists]
Advanced

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

ls + dir enhancement


From: linuxCowboy
Subject: ls + dir enhancement
Date: Tue, 27 Jan 2015 01:23:39 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11

I must confess I am an ex-windows hacker (a disciple of Matt Pietrek and Fravia). Thats why I miss a journal/summary function in ls.

Today Windoze sucks, so the dir command. But I accept that unix veterans wont adds to the approved ls. And to also give windoze cured people like me an better start we should add the journal option to dir. Because thats a very expected option, this should be a short and a long option.

The seasoned ls could become a gnu long option, maybe --journal or --summary.

* help line:

 -J, --journal[=SEP] switch journal on/off [with thousands separator]

* defaults to no separator

* works in all listing modes

* opt-in + switchable

Example:
  45 Files  1 Link  0 Dirs  -  185.669 (185.631) Bytes
168.440 Files 29.257 Links 20.822 Dirs # 6.053.652.735 (5.962.597.158) Bytes

* the files/links/dirs make sense to me

* the second line is added in recursive mode

* the pure file size in parenthesis is useful to exclude different dir sizes in dir trees.

I hope for positive reception.

linuxCowboy



reply via email to

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