Rsync deletion issue on failure

Matt McCutchen matt at
Wed Nov 25 23:06:51 MST 2009

On Wed, 2009-11-25 at 23:03 -0700, Adam Gordon wrote:
> I didn't see this in the man page or after a cursory Google search.
> I'm rsync-ing a file from computer A to computer B and the file does
> not exist yet on computer B.  My problem is that on a shoddy Internet
> connection, if rsync fails due to a connection error, the dot file it
> creates on computer B is deleted and I have to start the rsync all
> over from the beginning.
> Is there a way to tell rsync to NOT delete this dot file and pick up
> where it left off after failing?  I was in the middle of a 2-hour/2GB
> xfer and the connection died w/ 10MB left.

You want --partial or --partial-dir.


More information about the rsync mailing list