how to know the detail about a partial transfer?
blackmagic02881 at gmail.com
Fri Jan 25 15:40:40 GMT 2008
On Fri, 2008-01-25 at 11:34 +0100, Paul Slootman wrote:
> 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.
you are right. that is what i am doing right now. prefix each message
with all special prefix, easier to grep.
> Paul Slootman
@#$%^ purging memory... (*!%
More information about the rsync