how to know the detail about a partial transfer?

Paul Slootman paul+rsync at
Fri Jan 25 10:34:21 GMT 2008

On Thu 24 Jan 2008, Matt McCutchen wrote:

> > is it possible to change those error messages into a standard pattern?
> Yes, it would be possible, but it would require going through and
> reformatting each of the 77 FERROR_XFER messages individually and would
> make a few of them less readable (e.g., "link A => B failed" would
> become "B: link from A failed").  Another option would be to print an
> additional "failed to propagate B" message after a failure of any kind
> on file B, and your script could just match those messages.

Another approach is to prepend each error message with some type of
code, e.g. "link A => B failed" becomes "E0023: link A => B failed"
I remember from my days working with AIX that every tool did that,
and while it looks a bit cluttered, it's a lot simpler to search the
docs for the error code. And processing / detecting errors by scripts
becomes very simple.

Paul Slootman

More information about the rsync mailing list