Greger Cronquist
2004-Mar-29 16:11 UTC
Failed rsync -- two different files considered up to date
Hi, I've used rsync successfully for several years, syncing between two Windows 2000 servers using daemon mode, but today I stumbled accross something peculiar. I'm using cygwin with rsync 2.6.0 at both ends (the latest available at this date) and I have a file that rsync considers up to date even though both the md5 and a normal diff show differences. I've tried calling rsync with several different options, most notably -c for forcing checksum, but it fails to see a difference between the files. Are there any things I should try or information that I can include? All -vvv gives me is "uptodate". Regards, Greger
Craig Barratt
2004-Mar-29 17:10 UTC
Failed rsync -- two different files considered up to date
Greger Cronquist writes:> I've used rsync successfully for several years, syncing between two > Windows 2000 servers using daemon mode, but today I stumbled accross > something peculiar. I'm using cygwin with rsync 2.6.0 at both ends (the > latest available at this date) and I have a file that rsync considers up > to date even though both the md5 and a normal diff show differences. > I've tried calling rsync with several different options, most notably -c > for forcing checksum, but it fails to see a difference between the files. > > Are there any things I should try or information that I can include? All > -vvv gives me is "uptodate".How about -I (--ignore-times)? Craig
Wayne Davison
2004-Mar-29 18:27 UTC
Failed rsync -- two different files considered up to date
On Mon, Mar 29, 2004 at 06:09:28PM +0200, Greger Cronquist wrote:> I've tried calling rsync with several different options, most notably -c > for forcing checksum, but it fails to see a difference between the files.If -c failed to notice that the files are different, then either (1) the MD4 checksums accidentally match (rare, but not impossible), or (2) your double-check accidentally compared the wrong files. One way to force a resend is to touch the source file and then use --whole-file to ensure that you get a complete re-copy without any accidental block matches. ..wayne..