From 94230238de48343455360062c958573ecc8e65cd Mon Sep 17 00:00:00 2001 From: Corey Harris Date: Mon, 11 Feb 2019 14:49:40 +0100 Subject: [PATCH] rsync: add -r example with trailing backslash (#2760) --- pages/common/rsync.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/rsync.md b/pages/common/rsync.md index 41414b450..b86a4cecd 100644 --- a/pages/common/rsync.md +++ b/pages/common/rsync.md @@ -19,6 +19,10 @@ `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: `rsync -ru {{remote_host_name}}:{{remote_directory_location}} {{local_directory_location}}`