Commit c4833b02 authored by Wayne Davison's avatar Wayne Davison

Mention how a module reference doesn't need a trailing slash

to copy its contents.
parent 2a5d5a8c
......@@ -139,6 +139,15 @@ tt(rsync -av /src/foo /dest)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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment