[CentOS] accurate file size
Peter Arremann
loony at loonybin.orgSun Oct 14 21:46:44 UTC 2007
- Previous message: [CentOS] accurate file size
- Next message: [CentOS] accurate file size
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sunday 14 October 2007, centos at 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.
- Previous message: [CentOS] accurate file size
- Next message: [CentOS] accurate file size
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list