Subject: Re: bug#21926: du --summarize prunes subdirectories from output.

From: Pádraig Brady <[email-masked]>
Date: Mon, 16 Nov 2015 22:52:21 +0000

unarchive 17546
forcemerge 17546 21926
stop

On 15/11/15 08:41, Michaël Cadilhac wrote:
> Hi there;
> 
> The --summarize option of du(1) states:
>               display only a total for each argument
> Thus I'm assuming that whatever the number of arguments, I'll obtain
> an equal number of outputs.  However:
> 
> $ mkdir -p a/b
> $ du -s a a/b
> 0       a
> $
> 
> It is either a bug of du or of its man.

Yes it's not ideal. For details see:
http://bugs.gnu.org/17546

thanks,
Pádraig