Hi everybody, 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). Where i'm wrong ? Thanks very much for your help. -------------- next part -------------- HTML attachment scrubbed and removed
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
Reasonably Related Threads
- retransfer fail of large files with inplace and broken pipe
- mtime handling seems generally buggy for directories
- Welcome to the "rsync" mailing list
- checksum-xattr.diff [CVS update: rsync/patches]
- Rsync hard-links devices with different mtimes despite -t: expected?