bug#21926: du --summarize prunes subdirectories from output.
From:
Michaƫl Cadilhac
Subject:
bug#21926: du --summarize prunes subdirectories from output.
Date:
Sun, 15 Nov 2015 14:11:27 +0530
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.
Thanks!
M.
Technical details: du (GNU coreutils) 8.24 on
Arch Linux 4.1.12-1-lts #1 SMP Tue Oct 27 17:21:25 CET 2015 x86_64 GNU/Linux