This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [RSYNC] bad modify/change time set by rsync ?
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: LEGOND Fabrice <fabrice dot legond at gmail dot com>, cygwin at cygwin dot com
- Date: Wed, 7 Jan 2015 00:16:51 +0300
- Subject: Re: [RSYNC] bad modify/change time set by rsync ?
- Authentication-results: sourceware.org; auth=none
- References: <54AC3D83 dot 3000602 at gmail dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, LEGOND Fabrice!
>> --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).
>>
>> Yes, (ex)FAT just doesn't have the resolution to represent some
>> timestamps, specifically it can only record even seconds.
> Yes, that were also a guess at one moment in my testing time, but was
> discarded because, as I said, I had the very same problem on a ntfs
> partitions which have far greater precision. So is this normal ?
This is normal when your timezone is incorrect on one of the hosts. Means,
conversion to UTC result in different timestamps.
P.S.
Please don't break threads.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 07.01.2015, <00:15>
Sorry for my terrible english...
--
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