|
@@ -11,9 +11,9 @@
|
|
|
|
|
|
`scp {{remote_host}}:{{path/to/remote_file}} {{path/to/local_dir}}`
|
|
`scp {{remote_host}}:{{path/to/remote_file}} {{path/to/local_dir}}`
|
|
|
|
|
|
-- Recursively copy the contents of a directory on a remote host to a local directory:
|
|
|
|
|
|
+- Recursively copy the contents of a directory from a remote host to a local directory:
|
|
|
|
|
|
-`scp -r {{path/to/local_dir}} {{remote_host}}:{{path/to/remote_dir}}`
|
|
|
|
|
|
+`scp -r {{remote_host}}:{{path/to/remote_dir}} {{path/to/local_dir}}`
|
|
|
|
|
|
- Copy a file between two remote hosts transferring through the local host:
|
|
- Copy a file between two remote hosts transferring through the local host:
|
|
|
|
|