Roy Smith <r...@panix.com> writes:

> In article <mailman.3442.1371389433.3114.python-l...@python.org>,
>  Chris Kwpolska Warrick <kwpol...@gmail.com> 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.
l...@metapensiero.it  |                 -- Fortunato Depero, 1929.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to