rsync option --log-file seems is not working

Posted by user1017735 on Super User See other posts from Super User or by user1017735
Published on 2011-11-12T09:32:17Z Indexed on 2012/12/09 23:24 UTC
Read the original article Hit count: 326

Filed under:

I am using the --log-file option in rsync to see the logs. But when I tried to run, it says:

 --log-file unrecognized option

Here is my command:

#/usr/bin/rsync -av -u --log-file="/sreeni/log.txt" --rsync-path=/usr/local/bin/rsync /sreeni nnmhpt20.ind.hp.com:/sreeni

could some one help me with the right syntax ?

I tried these options also.

#/usr/bin/rsync -av -u --log-file /sreeni/log.txt --rsync-path=/usr/local/bin/rsync /sreeni nnmhpt20.ind.hp.com:/sreeni

and

#/usr/bin/rsync -av -u --log-file="/sreeni/log.txt" --rsync-path=/usr/local/bin/rsync /sreeni nnmhpt20.ind.hp.com:/sreeni

© Super User or respective owner

Related posts about rsync