summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-04-06 11:52:45 +0000
committerAndrew Tridgell <tridge@samba.org>1999-04-06 11:52:45 +0000
commit24986abd0717cf40252f98269c22d7553f609ad9 (patch)
treebc6b69a5972faa9b299752cac85ee6a32151d72b
parent8dfac376b5036e016bbc7552d3e8d78426a4a75a (diff)
downloadrsync-24986abd0717cf40252f98269c22d7553f609ad9.tar.gz
note in the man page that:
1) rsync won't copy directories at all if recursion isn't selected 2) --delete won't do anything if recursion isn't selected
-rw-r--r--rsync.yo6
1 files changed, 5 insertions, 1 deletions
diff --git a/rsync.yo b/rsync.yo
index 30bdca6c..2ba99f87 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -325,7 +325,9 @@ of saying you want recursion and want to preserve everything.
Note: if the user launching rsync is root then the -o (preserve
uid) and -D (preserve devices) options are also implied.
-dit(bf(-r, --recursive)) This tells rsync to copy directories recursively.
+dit(bf(-r, --recursive)) This tells rsync to copy directories
+recursively. If you don't specify this then rsync won't copy
+directories at all.
dit(bf(-R, --relative)) Use relative paths. This means that the full path
names specified on the command line are sent to the server rather than
@@ -434,6 +436,8 @@ 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.
+This option has no effect if directory recursion is not selected.
+
This option can be dangerous if used incorrectly! It is a very good idea
to run first using the dry run option (-n) to see what files would be
deleted to make sure important files aren't listed.