Hi, Is it possible to log rsync error messages and read them in console (Mac OS 10.5 Utility), or perhaps a text file? I have tried running my script in verbose mode -vv but I really don't want to read all 1000+ lines of output to look for the error code. Currently my script looks something like this: rsync -aE --delete --progress ~/(Entire Home Directory) /Volumes/(My backup drive) Thanks, Ken
On Thu, Apr 17, 2008 at 12:57:27PM -0600, Kenneth Seal wrote:> I have tried running my script in verbose mode -vv but I really don't > want to read all 1000+ lines of output to look for the error code.Errors should be output to stderr, and it isn't required that you have even one -v specified to see errors. You should be able to redirect stderr (file-handle 2) like this: rsync -av src/ dest/ 2>/tmp/rsync-$$.txt That should give you the errors in whatever file you like. ..wayne..