1 Reply Latest reply: Mar 18, 2012 6:01 PM by BobHarris
grnfrog55 Level 1 Level 1 (0 points)

When using rsync and needing to output a log file, what is the correct command?

 

--log-file=~/desktop/test.log       ?

 

If this is correct for output of log file onto the desktop, then my next question is does test.log have to already exist or will it be created?

 

what's the best practice of doing this?

 

Thanks

 

mi    

  • BobHarris Level 6 Level 6 (14,710 points)

    --log-file will create the log file (assuming you have permission to create the file in the specified directory).

     

    Have you tried it and it didn't work?  If so, did you get any error messages?

     

    NOTE:  The most up to date rsync is included as part of Carbon Copy Cloner, and the up executable can be found at Carbon Copy Cloner.app/Contents/MacOS/ccc_helper.app/Contents/MacOS/rsync