ignoring file times - but still examining content
tony at servacorp.com
Tue May 23 10:25:24 GMT 2006
Assuming the problem is Windows and time zones and daylight savings etc.
--modify-window=NUM compare mod times with reduced accuracy.
Windows still uses the old DOS method of storing times, which can't put
the value of the seconds into a 32-bin number, so can only represent
even seconds. (That's the theoretical best it can do)
I think going on or coming off Daylight Savings cause times to go
beserk, generally by an hour (3600 seconds or so)
should make your life a bit more pleasant.
If your problem is time-zones, laugh, but do the math and ...
> -----Original Message-----
> From: rsync-bounces+tony=servacorp.com at lists.samba.org
> [mailto:rsync-bounces+tony=servacorp.com at lists.samba.org]On Behalf Of
> tyko brown
> Sent: Tuesday, May 23, 2006 3:52 AM
> To: rsync at lists.samba.org
> Subject: ignoring file times - but still examining content
> I would like to transfer files which have changed on another box.
> The rsync man page says:
> ..This is useful when starting to use rsync after using another
> mirroring system which may not preserve timestamps exactly..
> Which is my situation.
> My problem is that the size-only switch (clearly) ignores files
> with different content, but that have the same size.
> I'd like to ignore timestamps but still examine content.
> How can I do that?
> To unsubscribe or change options:
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
More information about the rsync