Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a5d5a8
)
Mention how a module reference doesn't need a trailing slash
author
Wayne Davison
<wayned@samba.org>
Fri, 22 Apr 2005 17:17:18 +0000
(17:17 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 22 Apr 2005 17:17:18 +0000
(17:17 +0000)
to copy its contents.
rsync.yo
patch
|
blob
|
blame
|
history
diff --git
a/rsync.yo
b/rsync.yo
index
486ffae
..
a23234e
100644
(file)
--- a/
rsync.yo
+++ b/
rsync.yo
@@
-139,6
+139,15
@@
tt(rsync -av /src/foo /dest)nl()
tt(rsync -av /src/foo/ /dest/foo)nl()
)
tt(rsync -av /src/foo/ /dest/foo)nl()
)
+Note also that host and module references don't require a trailing slash to
+copy the contents of the default directory. For example, both of these
+copy the remote directory's contents into "/dest":
+
+quote(
+tt(rsync -av host: /dest)nl()
+tt(rsync -av host::module /dest)nl()
+)
+
You can also use rsync in local-only mode, where both the source and
destination don't have a ':' in the name. In this case it behaves like
an improved copy command.
You can also use rsync in local-only mode, where both the source and
destination don't have a ':' in the name. In this case it behaves like
an improved copy command.