progress on screen with only stats in a log file

Wayne Davison wayned at
Sat Mar 27 13:03:23 MDT 2010

On Sat, Mar 27, 2010 at 8:29 AM, Andrei_r20 <andrei.rakov at> wrote:

> Which combination of options/output redirection permits to display
> the progress (--progress) at the standard output and ONLY (no file listing)
> the stats (--stats) in a log file? If the stats are also displayed at
> the standard output, it's ok

Rsync doesn't separate log data like that, but you could write a script that
would work like that.  You could even use a pty, so that rsync continues to
ouptut using line buffering.  I've attached a simple perl script that does

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myrsync
Type: application/octet-stream
Size: 702 bytes
Desc: not available
URL: <>

More information about the rsync mailing list