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

List:       rsync
Subject:    Re: Files to short after transfer
From:       Wayne Davison <wayned () samba ! org>
Date:       2004-07-22 16:04:40
Message-ID: 20040722160440.GC23822 () blorf ! net
[Download RAW message or body]

On Thu, Jul 22, 2004 at 04:03:26PM +0200, Mark Koennecke wrote:
>   - My command line: rsync  -ruzv /home/TRICS/data/2004/ \
>         /afs/psi.ch/project/sinqdata/2004/trics/ 

The -u option tells rsync to ONLY update the file if the timestamp is
earlier than the timestamp of the sending file.  This will override the
normal size/date check, which is why rsync isn't updating the file.  How
it got corrupted (most likely) is that the file changed during the
transfer and rsync put the result of the transfer into place on the
destination pending a resend.  (This broken behavior was fixed in the CVS
version a while back so that (a) we discard a file that failed to verify
unless --partial was specified, and (b) we don't set the timestamp on a
file that failed to verify when we do keep it.)

Are you using the -u option for some other reason?  If not, I'd suggest
dropping it.

..wayne..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[prev in list] [next in list] [prev in thread] [next in thread] 

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