read error produces null-byte-filled destination file

Carson Gaspar carson at
Wed May 12 01:42:15 GMT 2004

--On Tuesday, May 11, 2004 13:39:24 -0700 Wayne Davison <wayned at> 

> What do you think?  Rsync has always moved a finished file into place,
> even if it fails the full-file checksum.  I'm wondering if this is
> really a good idea.  Perhaps that should only occur if the --partial
> flag was specified (in which case we're telling rsync that we'll accept
> a not-quite-finished file if it helps the next transfer to be more
> optimal).

Yes - rsync should _not_ use known-bad copies of files unless --partial has 
been specified.


More information about the rsync mailing list