Re: bug in the command du

2008-02-19 Thread Philip Rowlands

On Mon, 18 Feb 2008, Jochen Röder wrote:


i've found a bug in the command du

When i list recursivly directories and i only want to see the binary 
count of all files. I become a wrong result. The command e.g. du -ab 
add the bytes from . in every directory to the result.


This is not a bug. -a is documented to include all files, not just 
directories; its purpose is not to alter the reported totals, but to 
show more detail by including an output line for every file i.e. 
directory entry, which can be a regular file, directory, symlink etc.



Or did you have a parameterset to list the bytes only of the files?


Assuming you mean only regular files, there is no option to restrict 
du's output in this way.



Cheers,
Phil


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


bug in the command du

2008-02-18 Thread Jochen Röder

Hallo,

i've found a bug in the command du

When i list recursivly directories and i only want to see the binary 
count of all files. I become a wrong result. The command e.g. du -ab 
add the bytes from . in every directory to the result. Or did you have 
a parameterset to list the bytes only of the files?


regards

Jochen


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils