Overwrite the log-file in rsync3.0.5

Jignesh Shah jignesh.shah1980 at gmail.com
Tue Apr 21 12:48:14 GMT 2009


>
> 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
>
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list