git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f1fb73
)
Add a few new "dont compress" suffixes and improve the docs.
author
Wayne Davison
<wayned@samba.org>
Sat, 5 Sep 2009 17:26:51 +0000
(10:26 -0700)
committer
Wayne Davison
<wayned@samba.org>
Sat, 5 Sep 2009 17:29:29 +0000
(10:29 -0700)
loadparm.c
patch
|
blob
|
history
rsync.yo
patch
|
blob
|
history
diff --git
a/loadparm.c
b/loadparm.c
index 8e48e6d9bd8852268d5b99c54db22a6afad41bb0..fc978dcf407071ca59027df0334c2d58ea2fb520 100644
(file)
--- a/
loadparm.c
+++ b/
loadparm.c
@@
-54,7
+54,8
@@
extern item_list dparam_list;
#endif
#define DEFAULT_DONT_COMPRESS "*.gz *.zip *.z *.rpm *.deb *.iso *.bz2" \
#endif
#define DEFAULT_DONT_COMPRESS "*.gz *.zip *.z *.rpm *.deb *.iso *.bz2" \
- " *.t[gb]z *.7z *.mp[34] *.mov *.avi *.ogg *.jpg *.jpeg"
+ " *.t[gb]z *.7z *.mp[34] *.mov *.avi *.ogg *.jpg *.jpeg" \
+ " *.lzo *.rzip *.lzma *.rar *.ace *.gpg"
/* the following are used by loadparm for option lists */
typedef enum {
/* the following are used by loadparm for option lists */
typedef enum {
diff --git
a/rsync.yo
b/rsync.yo
index 60b5de4ad0ab3a1d29b2244ea12e7e02f334cd0c..92834253220555329176faabc2757d41cb4111df 100644
(file)
--- a/
rsync.yo
+++ b/
rsync.yo
@@
-1723,7
+1723,7
@@
You may specify an empty string to indicate that no file should be skipped.
Simple character-class matching is supported: each must consist of a list
of letters inside the square brackets (e.g. no special classes, such as
Simple character-class matching is supported: each must consist of a list
of letters inside the square brackets (e.g. no special classes, such as
-"[:alpha:]", are supported).
+"[:alpha:]", are supported
, and '-' has no special meaning
).
The characters asterisk (*) and question-mark (?) have no special meaning.
The characters asterisk (*) and question-mark (?) have no special meaning.
@@
-1732,10
+1732,32
@@
matches 2 suffixes):
verb( --skip-compress=gz/jpg/mp[34]/7z/bz2)
verb( --skip-compress=gz/jpg/mp[34]/7z/bz2)
-The default list of suffixes that will not be compressed is this (several
-of these are newly added for 3.0.0):
-
-verb( gz/zip/z/rpm/deb/iso/bz2/t[gb]z/7z/mp[34]/mov/avi/ogg/jpg/jpeg)
+The default list of suffixes that will not be compressed is this (in this
+version of rsync):
+
+bf(7z)
+bf(ace)
+bf(avi)
+bf(bz2)
+bf(deb)
+bf(gpg)
+bf(gz)
+bf(iso)
+bf(jpeg)
+bf(jpg)
+bf(lzma)
+bf(lzo)
+bf(mov)
+bf(mp3)
+bf(mp4)
+bf(ogg)
+bf(rar)
+bf(rpm)
+bf(rzip)
+bf(tbz)
+bf(tgz)
+bf(z)
+bf(zip)
This list will be replaced by your bf(--skip-compress) list in all but one
situation: a copy from a daemon rsync will add your skipped suffixes to
This list will be replaced by your bf(--skip-compress) list in all but one
situation: a copy from a daemon rsync will add your skipped suffixes to