summaryrefslogtreecommitdiff
path: root/rsync.yo
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-11-11 01:45:22 +0000
committerWayne Davison <wayned@samba.org>2004-11-11 01:45:22 +0000
commit3610c4583a6b187fa6fc98ad0025340c6f840d53 (patch)
tree723804169d4084a2ac7f527b829c62d96e625912 /rsync.yo
parent41cfde6be388364f9bf7dfa9a532625b1f660df7 (diff)
downloadrsync-3610c4583a6b187fa6fc98ad0025340c6f840d53.tar.gz
rsync-3610c4583a6b187fa6fc98ad0025340c6f840d53.tar.bz2
rsync-3610c4583a6b187fa6fc98ad0025340c6f840d53.zip
Document --max-size.
Diffstat (limited to 'rsync.yo')
-rw-r--r--rsync.yo6
1 files changed, 6 insertions, 0 deletions
diff --git a/rsync.yo b/rsync.yo
index 014f7b52..fb48e2e0 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -345,6 +345,7 @@ verb(
--delete-after receiver deletes after transfer, not before
--ignore-errors delete even if there are I/O errors
--max-delete=NUM don't delete more than NUM files
+ --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
--force force deletion of dirs even if not empty
@@ -635,6 +636,11 @@ dit(bf(--max-delete=NUM)) This tells rsync not to delete more than NUM
files or directories. This is useful when mirroring very large trees
to prevent disasters.
+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
+may be a fractional value (e.g. "--max-size=1.5m").
+
dit(bf(--delete)) This tells rsync to delete any files on the receiving
side that aren't on the sending side. Files that are excluded from
transfer are excluded from being deleted unless you use --delete-excluded.