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

Jignesh Shah jignesh.shah1980 at gmail.com
Fri Apr 17 08:56:25 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