Comprehensive list of rsync error codes [closed] Comprehensive list of rsync error codes [closed] linux linux

Comprehensive list of rsync error codes [closed]


Per the rsync "man" page, here are the error codes it could return and what they mean. If you're scripting it in bash, you could look at $?

 0     Success 1     Syntax or usage error 2     Protocol incompatibility 3     Errors selecting input/output files, dirs 4     Requested action not supported: an attempt was made to manipulate 64-bit       files on a platform that cannot support them; or an option was specified       that is supported by the client and not by the server. 5     Error starting client-server protocol 6     Daemon unable to append to log-file10     Error in socket I/O11     Error in file I/O12     Error in rsync protocol data stream13     Errors with program diagnostics14     Error in IPC code20     Received SIGUSR1 or SIGINT21     Some error returned by waitpid()22     Error allocating core memory buffers23     Partial transfer due to error24     Partial transfer due to vanished source files25     The --max-delete limit stopped deletions30     Timeout in data send/receive35     Timeout waiting for daemon connection

I've never seen a comprehensive "most common errors" list but I'm betting error code 1 would be at the top.