Justin Watt wrote:
> It'd be great if "sort" had an option to sort by the "-h" output of
> the "du" command.
> 
> For example the current output of du is alphabetized by filename with
> no options to sort:
> 
> $ du -h --max-depth=1
> 4.0K    ./bin
> 52M     ./code
> 765M    ./Desktop
> 12K     ./mail
> 17M     ./music
> 124K    ./PDF
> 5.5G    ./photos
> 153M    ./public_html
> 652K    ./ufc
> 7.3G    .

That has been asked for many times.
Perhaps we should add it?
You might find this script useful:

http://www.pixelbeat.org/scripts/dutop



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to