Customizing compression per file?
k04jg02 at gmail.com
Fri Jun 24 23:35:59 UTC 2022
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. Is there any way to express something like, "compress all files
except those with extension XXX?" The files are in a proprietary format
so it doesn't make sense to add them to a whitelist in rsync itself.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync