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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils