v3.0.4 and OSXS - Exit code: 1

Jonathan S. Abrams hociman at comcast.net
Sun Dec 13 11:21:48 MST 2009


Wayne Davison wrote:
> On Sun, Dec 13, 2009 at 8:49 AM, Jonathan S. Abrams 
> <hociman at comcast.net <mailto:hociman at comcast.net>> wrote:
>
>     When launchd executed this command, it did not work.  The
>     system.log file reads "Exited with exit code: 1".
>
>
> Can you redirect the output to a file so it can tell you why it 
> failed?  e.g.  >file.out 2>&1
>
> One common thing that prevents non-interactive sudo is this tty setting: 
>
> Defaults    requiretty
>
> ..wayne..
Wayne,

Thanks for responding.  Would it be enough to instruct rsync to log 
activity to a file?

sudo rsync -aAHvWX --log-file=docs_transfer /Volumes/File_Storage/docs/ 
/Volumes/File_Storage_Mirror/docs

-Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20091213/0e3beb9f/attachment.html>


More information about the rsync mailing list