2016-02-29 16:59:47 +0100, Ruediger Meier:
[...]
> What about "du --inodes"?  coreutils >= 8.22
[...]

Note that it counts the "inodes" which is different from
"directory entries".

For instance, in a directory that contains 100 entries all
hardlinks do the same file, du --inodes will report 2 (the
directory itself and the file).

Add the -l option to count directory entries (and get 101 in the
example above like for find|wc).

-- 
Stephane


Reply via email to