X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5efbddbadb7e09e69c081cd2b8695285fd87a3de..e90aab4982c4ce8b3f778cc072d677dd0dbb3dca:/rsync.yo diff --git a/rsync.yo b/rsync.yo index d634bff4..92982926 100644 --- a/rsync.yo +++ b/rsync.yo @@ -3,20 +3,20 @@ manpage(rsync)(1)(28 Jul 2005)()() manpagename(rsync)(faster, flexible replacement for rcp) manpagesynopsis() +rsync [OPTION]... SRC [SRC]... DEST + rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST -rsync [OPTION]... [USER@]HOST:SRC [DEST] +rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST -rsync [OPTION]... SRC [SRC]... DEST +rsync [OPTION]... SRC [SRC]... rsync://[USER@]HOST[:PORT]/DEST -rsync [OPTION]... [USER@]HOST::SRC [DEST] +rsync [OPTION]... [USER@]HOST:SRC [DEST] -rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST +rsync [OPTION]... [USER@]HOST::SRC [DEST] rsync [OPTION]... rsync://[USER@]HOST[:PORT]/SRC [DEST] -rsync [OPTION]... SRC [SRC]... rsync://[USER@]HOST[:PORT]/DEST - manpagedescription() rsync is a program that behaves in much the same way that rcp does, @@ -733,7 +733,9 @@ also excluded from being deleted unless you use the bf(--delete-excluded) option or mark the rules as only matching on the sending side (see the include/exclude modifiers in the FILTER RULES section). -This option has no effect unless directory recursion is enabled. +Prior to rsync 2.6.7, this option would have no effect unless bf(--recursive) +was in effect. Beginning with 2.6.7, deletions will also occur when bf(--dirs) +is specified, but only for directories whose contents are being copied. This option can be dangerous if used incorrectly! It is a very good idea to run first using the bf(--dry-run) option (bf(-n)) to see what files would be