I was copying some files from windows machine to unix one (debian) and after checking file count (both matched) i tested folder size with
du and i got different results:
@/cygdrive/f/Cubie-Drive/download/files $ du -s . 487040665 .
root@Cubian:/opt/ftp/ftpuser-home/upload# du -s . 487042376 .
du versions, windows:
$ du --version du (GNU coreutils) 8.15 Packaged by Cygwin (8.15-1) Copyright (C) 2012 Free Software Foundation, Inc.
du (GNU coreutils) 8.13 Copyright (C) 2011 Free Software Foundation, Inc.
any idea why is there a slight difference?