At the end of a successful rsync job, I get the typical:
sent 6022622 bytes received 4751961 bytes 69738.40 bytes/sec
total size is 3328464484 speedup is 308.92
I call my rsync job via a shell script and at the end of the script I write to a text file as a log. Without logging the entire rsync job to a text file, is there a way just to capture whether or not this message is output at the end so I could write something like 'OK' as part of my output to signify the sync ran successfully?
Thank you!