On Sunday 14 October 2007, centos@unixplanet.biz wrote:
Hello
I was copying some files from one server to other, that I relized the total file size ( sum of all files ) in one server is a bit more than the one that copied from ( about 6 when I do du -s )
You can use dd with the right options:
du --apparent-size -B 1
this will count blocks of size 1 byte and take the used size by the files rather than the allocated blocks.
Peter.