Re: Overwrite the rsync log-file in rsync3.0.5 ??

2009-04-24 Thread Wayne Davison
On Fri, Apr 17, 2009 at 02:26:25PM +0530, Jignesh Shah wrote: > Hi, Could any one please let me know if there is anyway to overwrite the > log-file if it already exists. Just change your script that runs rsync to do a "rm /tmp/mylogs/myfile" or "cp /dev/null /tmp/mylogs/myfile" prior to the transf

Overwrite the rsync log-file in rsync3.0.5 ??

2009-04-17 Thread Jignesh Shah
Hi, Could any one please let me know if there is anyway to overwrite the log-file if it already exists. I want /tmp/mylogs/myfile file to be overwritten each time below command executes. rsync -av -ii file-format='MyLogs: %i %f %l %o %b' --log-file='/tmp/mylogs/myfile' Thanks, Jignesh