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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -