shell - How to prevent rsync compression on files with no extension? -


i'm using rsync perform synchronisation between 2 machines on network, have rsync's --compress setting enabled, have various file-types i'm excluded know compressed such .jpg, .mp4 etc, using --skip-compress option.

however, have large number of files no extension know have poor compression (due encryption), part of os x's sparsebundle disk image format (where each "block" of image own file no file extension.

anyway, don't have many other files should conflict, other files have no extension should either excluded or quite small (so not worth compressing).

however, i'm @ loss how should add no extension files rsync's --skip-compress list?

going 1 level: how time saving --skip-compress?

on 0.5 megabyte/s network link, 21 megabyte mp3 file suffices mp3, txt , none tried --skip-compress="[]/gz/foo" , --skip-compress="gz//foo". not find difference in speed on 5 tries.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -