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 o

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

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

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 wo

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 outpu

Re: du feature request

2006-10-20 Thread Alfred M. Szmidt
> 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 Why? What can we add to du that can't already be done by pipelining du output into sort? Because it is useful. As ano

Re: du feature request

2006-10-20 Thread Alfred M. Szmidt
Maybe you should read up on the de-facto UNIX philosophy in documents such as http://www.faqs.org/docs/artu/ch01s06.html GNU's Not UNIX. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

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 http://www.

Re: du feature request

2006-10-20 Thread Matthew Woehlke
Eric Blake wrote: According to Logan Hansen on 10/19/2006 12:10 PM: 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 Why? What can we add to du that can't already be done by pipelining du output

Re: du feature request

2006-10-20 Thread Pádraig Brady
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 Yes I can definitely see the need for that. However what you need is quite easily achieved with existing tools.

Re: du feature request

2006-10-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Logan Hansen on 10/19/2006 12:10 PM: > 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 Why? What can we add to du that ca

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

du feature request

2006-10-19 Thread Logan Hansen
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 Thanks, Logan Hansen Linux Systems Admin Adams State College ___ Bug-coreutils mailing list Bu

du feature request: '--total-only'

2006-08-19 Thread The Wanderer
The '-c' option tells du to print a grand total, after having printed whatever else it is going to output. The '-s' option tells du to print only a total for each path argument, rather than recursively printing the total for each subdirectory of each path argument which is a directory. From time