I am running rsync in a cronjob and redirect the output of rsync in the cronjob using
/opt/rsync.sh ... > /var/log/rsync.log 2>&1
I know, I can make rsync output just a summary of number of bytes transferred and so on. I also know I can make rsync verbose printing the percentage of each file transferred. But when I redirect the verbose output into a file, it produces a list of outputs for each file since it frequently sends the percentage to stdout.
How can I get something in between, print every file transferred and a summery but not multiple lines for the process percentage of each file?