From dc6c50b26c24668063240d4c4e33d064b625d524 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 6 May 2005 19:14:01 +0000 Subject: [PATCH] Some man-page improvements based on Paul's suggestions. --- min-size.diff | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/min-size.diff b/min-size.diff index c9569a1..a4b9ee0 100644 --- a/min-size.diff +++ b/min-size.diff @@ -33,7 +33,7 @@ update_only = always_checksum = size_only = 0; ignore_times = 1; make_backups = 0; /* avoid a duplicate backup for inplace processing */ ---- orig/options.c 2005-05-03 16:47:32 +--- orig/options.c 2005-05-03 17:11:01 +++ options.c 2005-04-28 16:20:41 @@ -98,6 +98,7 @@ int only_existing = 0; int opt_ignore_existing = 0; @@ -106,7 +106,7 @@ args[ac++] = "--max-size"; args[ac++] = max_size_arg; --- orig/rsync.yo 2005-05-03 16:47:33 -+++ rsync.yo 2005-04-28 15:13:29 ++++ rsync.yo 2005-05-06 19:12:35 @@ -350,6 +350,7 @@ to the detailed description below for a --ignore-errors delete even if there are I/O errors --force force deletion of dirs even if not empty @@ -115,17 +115,23 @@ --max-size=SIZE don't transfer any file larger than SIZE --partial keep partially transferred files --partial-dir=DIR put a partially transferred file into DIR -@@ -766,6 +767,13 @@ dit(bf(--max-delete=NUM)) This tells rsy +@@ -766,10 +767,16 @@ dit(bf(--max-delete=NUM)) This tells rsy files or directories (NUM must be non-zero). This is useful when mirroring very large trees to prevent disasters. +dit(bf(--min-size=SIZE)) This tells rsync to avoid transferring any -+file that is smaller than the specified SIZE. The SIZE value can be -+suffixed with a letter to indicate a size multiplier (K, M, or G) and -+may be a fractional value (e.g. "bf(--max-size=1.5m)"). -+This can help in not transferring small junk files. -+This only affects regular files, not e.g. device nodes or symbolic links. ++file that is smaller than the specified SIZE, which can help in not ++transferring small, junk files. ++ ++The SIZE value can be suffixed with a letter to indicate a size multiplier ++(K, M, or G) and may be a fractional value (e.g. "bf(--min-size=2.5k)"). + dit(bf(--max-size=SIZE)) This tells rsync to avoid transferring any - file that is larger than the specified SIZE. The SIZE value can be - suffixed with a letter to indicate a size multiplier (K, M, or G) and +-file that is larger than the specified SIZE. The SIZE value can be +-suffixed with a letter to indicate a size multiplier (K, M, or G) and +-may be a fractional value (e.g. "bf(--max-size=1.5m)"). ++file that is larger than the specified SIZE. See the bf(--min-size) ++option for a description of SIZE. + + dit(bf(-B, --block-size=BLOCKSIZE)) This forces the block size used in + the rsync algorithm to a fixed value. It is normally selected based on -- 2.34.1