I have this crontab running every 5 minutes:
date >> ~/18/rsync.log rsync -vaz user@r18:~/assets ~/18 >> ~/18/rsync.log 2>&1
It adds this to the log file every 5 minutes:
Thu Aug 16 13:00:01 MSK 2012 receiving incremental file list sent 506 bytes received 541488 bytes 361329.33 bytes/sec total size is 12954651209 speedup is 23901.84
And sometimes it adds actual transfer logs:
Thu Aug 16 13:10:01 MSK 2012 receiving incremental file list assets/response/20120816/ assets/response/20120816/1017161.doc assets/response/20120816/1017162.doc assets/response/20120816/1017163.doc sent 568 bytes received 561686 bytes 1124508.00 bytes/sec total size is 12954864201 speedup is 23040.95
I would like to omit empty transfer logging and keep actual transfer listings. Is there any way to configure rsync to produce verbose output only on non-empty transfers?