Diff problem

Matt McCutchen matt at mattmccutchen.net
Sun Nov 18 19:00:20 GMT 2007


On Fri, 2007-11-16 at 16:37 +0100, alex loutrbringa' wrote:
> Until know i synchronized a few directories full of binaries with
> "--checksum" options, it took each time a lot
> of time since rsync "mdsum" each file contained in my directories. 
> Then I decided to skip "--checksum" option to let rsync work only of
> files size and files mtime and speed up the process but when i launch
> a dry-run : rsync wants to resynchronize a lot of my files.
> I don't understand because my 2 remote directories are already exactly
> the same (same files which have same sizes and same mtime).

Are you certain that the mtimes are the same?  Pass -i to see why rsync
wants to retransfer the files; a "t" indicates a difference in mtime.
If you did ask rsync to preserve mtimes, it may be that the destination
filesystem has low-resolution mtimes and you need to use
--modify-window .

Matt



More information about the rsync mailing list