This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [RSYNC] bad modify/change time set by rsync ?
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 06 Jan 2015 20:34:35 +0100
- Subject: Re: [RSYNC] bad modify/change time set by rsync ?
- Authentication-results: sourceware.org; auth=none
- References: <54AC3179 dot 4010703 at gmail dot com>
LEGOND Fabrice writes:
> You can see here that:
> * the Modify/Change time differ from one second. Why ?
Reading the man page would tell you why and what to do:
--modify-window
When comparing two timestamps, rsync treats the timestamps as being
equal if they differ by no more than the modify-window value. This
is normally 0 (for an exact match), but you may find it useful to
set this to a larger value in some situations. In particular, when
transferring to or from an MS Windows FAT filesystem (which
represents times with a 2-second resolution), --modify-window=1 is
useful (allowing times to differ by up to 1 second).
> Or perhaps I miss something; If someone can help me.
Yes, (ex)FAT just doesn't have the resolution to represent some
timestamps, specifically it can only record even seconds.
http://ntfs.com/exfat-time-stamp.htm
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple