[plug] listing with total

Michael Holland myk at westnet.com.au
Thu Jul 29 10:54:59 WST 2004


On Thu, 29 Jul 2004, Jon  Miller wrote:

> I figured it out (du -h -c)

But that doesn't list the files, as the OP requested, just
sub-directories.

> >>> jlmiller at mmtnetworks.com.au 12:21:10 am 29/07/2004 >>>
> What is the command to do a listing of directory with the total of the
> file in human form at the bottom of the listing.

Try "ls -hs". Almost, except the total is at the top.
Then "ls -hsr | tac"    bingo!


--
The best things in life go on sale sooner or later.



More information about the plug mailing list