I use rsync to backup a few thousands of files and pipe the output to a file. Given the number of files I'd like to see a list of only those transfers that had issues as well as a summary to show which completed.
So, using the -q
flag displays nicely by exception any error only.
Using --stats
shows a helpful summary at the end.
The problem is that I cannot combine them because it appears that -q
suppresses the stats output.
Any ideas welcome.
Perhaps this will help someone else. In the end the only thing that worked was to swap the output as suggested here. So in my case it was simply redirecting as follows: 2>> /output.log >> /output.log