bug#9187: du feature request

2011-07-28 Thread Hugh Esco
perhaps I just need to learn the right switches to apply to sort on the other side of a pipe, but I have often wanted to sort the results of du in descending order and have it get it how to parse the -s(ummary) -h (uman) readable output. So instead of: $ du -sh /var/log/* 28K /var/log/apt

bug#9187: du feature request

2011-07-28 Thread Eric Blake
tag 9187 notabug thanks On 07/27/2011 08:06 PM, Hugh Esco wrote: perhaps I just need to learn the right switches to apply to sort on the other side of a pipe, but I have often wanted to sort the results of du in descending order and have it get it how to parse the -s(ummary) -h (uman) readable

Re: du feature request: option like -x to exclude bind mounts

2008-10-07 Thread Jim Meyering
Nicholas Leippe [EMAIL PROTECTED] wrote: Currently, du -x properly excludes other filesystems that are mounted. But if the same filesystem is mounted again with -o bind (linux, possibly other oses), it still includes them in the count. An option to exclude them from the count as well would be

Re: du feature request: option like -x to exclude bind mounts

2008-10-07 Thread Jim Meyering
Nicholas Leippe [EMAIL PROTECTED] wrote: On Tuesday 07 October 2008 05:58:19 am you wrote: Nicholas Leippe [EMAIL PROTECTED] wrote: Currently, du -x properly excludes other filesystems that are mounted. But if the same filesystem is mounted again with -o bind (linux, possibly other

du feature request: option like -x to exclude bind mounts

2008-10-06 Thread Nicholas Leippe
Currently, du -x properly excludes other filesystems that are mounted. But if the same filesystem is mounted again with -o bind (linux, possibly other oses), it still includes them in the count. An option to exclude them from the count as well would be convenient.

Re: du feature request

2006-11-06 Thread Matthew Woehlke
Logan Hansen wrote: 'sort'ing by name isn't a big deal. 'sort'ing by size, however doesn't work well do to du's rounding of sizes: du -m and compare a file that's 1k vs 900k. Further, du -h is quite nice, however, 'sort' can't do *anything* with the results. Rather than having to write a program

Re: du feature request

2006-10-22 Thread Logan Hansen
'sort'ing by name isn't a big deal. 'sort'ing by size, however doesn't work well do to du's rounding of sizes: du -m and compare a file that's 1k vs 900k. Further, du -h is quite nice, however, 'sort' can't do *anything* with the results. Rather than having to write a program to parse du -k's

Re: du feature request

2006-10-20 Thread Matthew Woehlke
Logan Hansen wrote: I would like to request a feature to be added to the 'du' command: a command line switch to sort output by directory name or by size of directory option to sort by size... wow, that would be really nice. So nice I wrote this script to do it... du -B 1 $@ | awk '{printf

Re: du feature request

2006-10-20 Thread Bauke Jan Douma
Logan Hansen wrote: Sirs, I would like to request a feature to be added to the 'du' command: a command line switch to sort output by directory name or by size of directory How about adding a gui to du? Maybe you should read up on the de-facto UNIX philosophy in documents such as