Files to short after transfer

Wayne Davison wayned at samba.org
Thu Jul 22 16:04:40 GMT 2004


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..


More information about the rsync mailing list