1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 16:35:53 +02:00

rsync: add -r example with trailing backslash (#2760)

This commit is contained in:
Corey Harris 2019-02-11 14:49:40 +01:00 committed by Marco Bonelli
parent 1f94abff1f
commit 94230238de

View file

@ -19,6 +19,10 @@
`rsync -r {{remote_host_name}}:{{remote_directory_location}} {{local_directory_location}}` `rsync -r {{remote_host_name}}:{{remote_directory_location}} {{local_directory_location}}`
- Transfer directory contents (but not the directory itself) from a remote to local:
`rsync -r {{remote_host_name}}:{{remote_folder_location}}/ {{local_folder_location}}`
- Transfer only updated files from remote host: - Transfer only updated files from remote host:
`rsync -ru {{remote_host_name}}:{{remote_directory_location}} {{local_directory_location}}` `rsync -ru {{remote_host_name}}:{{remote_directory_location}} {{local_directory_location}}`