I'm using rsync to copy a directory from host A to host B. After the rsync is completed successfully, I check the files with the directory and find that some files' md5sum is different but the timestamp is the same. Can anyone tell me why?
**rsync info:** rsync version 2.6.3 protocol version 28 Copyright (C) 1996-2004 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, inplace, IPv6, 64-bit system inums, 64-bit internal inums rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. **rsync option** rsync -avP DIR HOSTB:foo/
After I found out this difference, I used the Linux touch command to update all the files within this directory and find out that rsync still syncs the files which have the same MD5 value.
This problem has bothered me for quite a long time; any help or suggestions?