Problem with --fil

Jignesh Shah jignesh.shah1980 at gmail.com
Mon May 4 18:56:09 GMT 2009


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] Number of files transferred: 0
2009/05/05 00:17:45 [26050] Total file size: 9593706 bytes
2009/05/05 00:17:45 [26050] Total transferred file size: 0 bytes
2009/05/05 00:17:45 [26050] Literal data: 0 bytes
2009/05/05 00:17:45 [26050] Matched data: 0 bytes
2009/05/05 00:17:45 [26050] File list size: 417
2009/05/05 00:17:45 [26050] File list generation time: 0.001 seconds
2009/05/05 00:17:45 [26050] File list transfer time: 0.000 seconds
2009/05/05 00:17:45 [26050] Total bytes sent: 130
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.

Thanks,
Jignesh
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list