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 transfer. Rsync always appends. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html