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

Re: Bug#582321: TAG: dirsum -- commandline directory summary



On Thu, May 20, 2010 at 12:05:50PM +0200, Yves-Alexis Perez wrote:
> On 20/05/2010 11:21, Ron Johnson wrote:
> > hat does this do that existing tools don't?
> > 
> > $ du -Sk | sort -nr | head -n10
> > 131960    ./.Newsletters.Washington_Post/cur
> 
> not sure dirsum can do that either, but it's painful that du itself
> can't sort, since you can't use du -h before piping to sort.

Why not? What speaks against using:

du -h | sort -h

I think its suitable for that purpose.

Regards,
Patrick


Reply to: