|
@@ -12,9 +12,9 @@
|
|
|
|
|
|
`rsync {{remote_host_name}}:{{remote_file_location}} {{local_file_location}}`
|
|
`rsync {{remote_host_name}}:{{remote_file_location}} {{local_file_location}}`
|
|
|
|
|
|
-- transfer file in archive and compress mode, it keeps attribute and reduces the size.
|
|
|
|
|
|
+- transfer file in archive (to preserve attributes) and compressed (zipped) mode
|
|
|
|
|
|
-`rsync -avz {{path_to_file}} {{remote_host_name}}:{{remote_host_location}}`
|
|
|
|
|
|
+`rsync -az {{path_to_file}} {{remote_host_name}}:{{remote_host_location}}`
|
|
|
|
|
|
- transfer a directory and all its children from a remote to local
|
|
- transfer a directory and all its children from a remote to local
|
|
|
|
|