Re: A new solution for sorting du -h

2011-02-22 Thread Pádraig Brady
On 22/02/11 19:51, Alan Evans wrote: > There are many discussions about sorting the human readable form of du > for output in reports/cron jobs and the like. sort got -h to operation on the suffixed numbers directly in release 7.5 (2009-08-20) cheers, Pádraig.

A new solution for sorting du -h

2011-02-22 Thread Alan Evans
There are many discussions about sorting the human readable form of du for output in reports/cron jobs and the like. Some people use perl or bash scripts. Others use sort and then xargs (which is silly IMO). Yes, the first pass of du should prime caches BUT if du is traversing a really large dir