wangtuma2 at sina.com
2014-Aug-26 15:47 UTC
how to get the rsync remote error code at client side
Hi, I'm trying to use rsync to sync files between my desktop and a file server, using my desktop as the client, and the file server as the remote side (or the server side, of course), and I'm wondering how I can get the error code of the remote/server side at the client side. For example, if the file server is out of space, or the server couldn't write to file due to permission problems, or any other kinds of errors, how can I (or the client) know? I read the man page; it lists some error code which doesn't seem relative or specific to the remote side. Is there a mechanism that allows the server to report an error to the client? If there is not, how can I add such a mechanism to rsync? Thanks!--tuma -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20140826/d05aaea1/attachment.html>