Customizing compression per file?

Joseph Garvin via rsync <[email protected]>
Newsgroups gmane.network.rsync.general
Message-ID <CAH=MJ4ZXcL1PfxanLmxhm6UMRxFUyOsOiFMkGBw=Ydy+cgYc_Q@mail.gmail.com>
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.

Thanks,

Joe G.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.