delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/13/16:00:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Richard Ivarson <RiIvarson AT gmail DOT com>
Subject: Re: Rsync and NTFS -> FAT32 problem
Date: Sat, 13 Sep 2008 21:59:06 +0200
Lines: 23
Message-ID: <gah636$3th$1@ger.gmane.org>
References: <gah2m4$qv0$1 AT ger DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
In-Reply-To: <gah2m4$qv0$1@ger.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019