X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/32c7f91a1460be4132fc5e7ef5b6880118b5c1b4..c4833b024ef5f1b7c1e4f67154667541bf433850:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 486ffae3..a23234e8 100644 --- 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() ) +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.