Roy Smith <[email protected]> writes:

> In article <[email protected]>,
>  Chris Kwpolska Warrick <[email protected]> wrote:
>
>> (I€™m using wc -c to count the bytes in all files there are.  du is
>> unaccurate with files smaller than 4096 bytes.)
>
> It's not that du is not accurate, it's that it's measuring something 
> different.  It's measuring how much disk space the file is using.  For 
> most files, that's the number of characters in the file rounded up to a 
> full block.

I think “du -c” emits a number very close to “wc -c”.
ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email protected]  |                 -- Fortunato Depero, 1929.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to