X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/32c7f91a1460be4132fc5e7ef5b6880118b5c1b4..c48cff9fbeace8db37a7e67ec6ff102c95b0db6d:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 486ffae3..08b7c93c 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. @@ -1071,7 +1080,7 @@ quote(itemize( (sent). it() A bf(>) means that a file is being transferred to the local host (received). - it() A bf(c) means that a local change/creation is occuring for the item + it() A bf(c) means that a local change/creation is occurring for the item (such as the creation of a directory or the changing of a symlink, etc.). it() A bf(h) means that the item is a hard-link to another item (requires bf(--hard-links)). @@ -1093,7 +1102,7 @@ The attribute that is associated with each letter is as follows: quote(itemize( it() A bf(c) means the checksum of the file is different and will be - updated by the file transfer (requries bf(--checksum)). + updated by the file transfer (requires bf(--checksum)). it() A bf(s) means the size of the file is different and will be updated by the file transfer. it() A bf(t) means the modification time is different and is being updated