exit code for vanished files in 2.6.9

Matt McCutchen matt at mattmccutchen.net
Fri Dec 7 20:50:09 GMT 2007

On Fri, 2007-12-07 at 14:40 -0600, Marc DeTrano wrote:
> I am using rsync 2.6.9 (as currently packaged in Mandriva 2007.1)
> Ever since the latest update of the package I have been getting an exit
> code of 23 with the output "file has vanished: {filename}".
> For partial transfers due to vanished files, I  (and my script) would
> expect exit code 24.

If a file has vanished and there is also an error that affects the
correctness of the transfer, the code 23 takes precedence over the code
24.  Check rsync's output for any error messages.  If there are none,
then rsync is behaving incorrectly and we should investigate further.


More information about the rsync mailing list