how to abort when can't write to the destination?

Wayne Davison wayned at samba.org
Fri May 13 00:32:13 GMT 2005


On Mon, May 09, 2005 at 12:07:39PM -0400, Yaroslav Halchenko wrote:
> I man-ed rsync but couldn't find an option which would exit rsync if
> any error occurred on the way (like IO problem with destination or
> smth like that)

That's not currently supported, but this is an area that needs to be
improved in the future.  You could try running a probing rsync that only
copies one file/dir, and if it doesn't succeed, skip doing the full
update.

..wayne..


More information about the rsync mailing list