[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Re: Rsync and NTFS -> FAT32 problem
From:       Richard Ivarson <RiIvarson () gmail ! com>
Date:       2008-09-13 19:59:06
Message-ID: gah636$3th$1 () ger ! gmane ! org
[Download RAW message or body]

Thanks to Sylvain, who pointed to the "-modify-window" parameter!
This does do exactly what I've been looking for. It's in the man pages, but
rsync's ones are very long ... and I missed it.
So for people with a similar problem, here's the solution:

http://linuxreviews.org/man/rsync/index.html.en
{
--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).
}

That's great. Rsync is incredible helpful! And the people behind Cygwin 
brings it to us. And this mailings-list's people :-)
All the best to you.

-Richard



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic