Hello,

In a directory with this:

$du --total *
10240   10-Megs
20480   20-Megs
61444   60-Megs
81924   80-Megs
174088  total

I would expect du --total --threshold -50M * to be

$du --total --threshold -50M *
10240   10-Megs
20480   20-Megs
30720   total

ie exactly as if I had asked:

$du --total 10-Megs 20-Megs
10240   10-Megs
20480   20-Megs
30720   total

But the actual output is:

$du --threshold -50M --total *
10240   10-Megs
20480   20-Megs
174088  total

and so the total includes all the files scanned, and not just the files
displayed.

I see this in coreutils 8.32, but the culprit code seems to still be
there in the current master branch

Regards



Reply via email to