Document the new --compress-level option.
authorWayne Davison <wayned@samba.org>
Wed, 26 Oct 2005 16:48:44 +0000 (16:48 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 26 Oct 2005 16:48:44 +0000 (16:48 +0000)
NEWS
rsync.yo

diff --git a/NEWS b/NEWS
index bb5a999..8b423d4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -37,7 +37,11 @@ Changes since 2.6.6:
       that are longer on the source than the destination (this includes new
       files).
 
       that are longer on the source than the destination (this includes new
       files).
 
-    - Added the --min-size=SIZE option.
+    - Added the --min-size=SIZE option to exclude small files from the
+      transfer.
+
+    - Added the --compress-level option to allow you to set how aggressive
+      rsync's compression should be (the option implies --compress).
 
     - Enhanced the parsing of the SIZE value for --min-size and --max-size.
 
 
     - Enhanced the parsing of the SIZE value for --min-size and --max-size.
 
index 90065df..fc30cea 100644 (file)
--- a/rsync.yo
+++ b/rsync.yo
@@ -356,6 +356,7 @@ to the detailed description below for a complete description.  verb(
      --copy-dest=DIR         ... and include copies of unchanged files
      --link-dest=DIR         hardlink to files in DIR when unchanged
  -z, --compress              compress file data during the transfer
      --copy-dest=DIR         ... and include copies of unchanged files
      --link-dest=DIR         hardlink to files in DIR when unchanged
  -z, --compress              compress file data during the transfer
+     --compress-level=NUM    explicitly set compression level
  -C, --cvs-exclude           auto-ignore files in the same way CVS does
  -f, --filter=RULE           add a file-filtering RULE
  -F                          same as --filter='dir-merge /.rsync-filter'
  -C, --cvs-exclude           auto-ignore files in the same way CVS does
  -f, --filter=RULE           add a file-filtering RULE
  -F                          same as --filter='dir-merge /.rsync-filter'
@@ -1083,6 +1084,10 @@ be achieved by using a compressing remote shell or a compressing transport
 because it takes advantage of the implicit information in the matching data
 blocks that are not explicitly sent over the connection.
 
 because it takes advantage of the implicit information in the matching data
 blocks that are not explicitly sent over the connection.
 
+dit(bf(--compress-level=NUM)) Explicitly set the compression level to use
+(see bf(--compress)) instead of letting it default.  If NUM is non-zero,
+the bf(--compress) option is implied.
+
 dit(bf(--numeric-ids)) With this option rsync will transfer numeric group
 and user IDs rather than using user and group names and mapping them
 at both ends.
 dit(bf(--numeric-ids)) With this option rsync will transfer numeric group
 and user IDs rather than using user and group names and mapping them
 at both ends.