It actually does that by default. Though you might need to add to the
list of file types with --skip-compress.
On 6/24/22 19:35, Joseph Garvin via rsync wrote:
I have an rsync cron job to backup folders that contain many different
types of files. Most of these are uncompressed files, so the
I have an rsync cron job to backup folders that contain many different
types of files. Most of these are uncompressed files, so the -z option
would speed up their transfer. However there are a few files that are
already compressed where -z will just needlessly burn CPU and slow down the
transfer.