This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RSYNC] bad modify/change time set by rsync ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]