Hey Matt, OK it is displaying the statistics with --states on stdout as well but I think format has been changed than rsync 2.6.7. Am I right?
Thanks, Jignesh On Tue, May 5, 2009 at 12:59 AM, Jignesh Shah <jignesh.shah1...@gmail.com>wrote: > Thanks for reply but I have been passing --states option. I have given the > command for example. See below is my exact command. > > /usr/local/bin/rsync --verbose --bwlimit=6144 --relative --archive > --blocking-io --stats --partial --force --timeout=43200 --delete --compress > -ii --log-file-format='%i %f %l %o %b' --log-file='/tmp/myfile' > --omit-dir-times /src /dest > > Do you see anything wrong in this command. > > Thanks, > Jignesh > > > On Tue, May 5, 2009 at 12:54 AM, Matt McCutchen <m...@mattmccutchen.net>wrote: > >> On Tue, 2009-05-05 at 00:26 +0530, Jignesh Shah wrote: >> > Hi, I am using below command. >> > >> > rsync --verbose --log-file-format='%i %f %l %o %b' >> > --log-file='/tmp/myfile' src/ dest/ >> > >> > Though it is good that all the sync information contents will be >> > redirected to /tmp/myfile, it would be useful if rsync could print at >> > least below final statistics on stdout. >> > >> > 2009/05/05 00:17:45 [26050] Number of files: 18 >> > [...] >> > 2009/05/05 00:17:45 [26050] Total bytes received: 464 >> > 2009/05/05 00:17:45 [26050] sent 130 bytes received 464 bytes 108.00 >> > bytes/sec >> > 2009/05/05 00:17:45 [26050] total size is 9593706 speedup is 16151.02 >> > >> > >> > Could any one please let me know if it is possible to display these >> > statistics on standard output. It would be fine if it also redirected >> > or not to log-file. >> >> Those lines are supposed to be controlled by the --stats option. When I >> ran your command (which does not have --stats), the stats didn't appear >> in my log file, so I'm not sure how they got into yours; you might check >> if you have two different rsyncs writing to the same log file. In any >> case, if you pass --stats, rsync should print the information to both >> stdout and the log file. >> >> -- >> Matt >> >> >
-- 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