mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
Recursive scp arguments reversed (#1321)
* Recursive scp arguments reversed The command to "copy [...] on a remote host to a local directory" in the current scp tldr page was backwards. scp arguments take the form `scp from to`. * add the word from for clarity
This commit is contained in:
parent
8493ee06ba
commit
11e745572e
1 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,9 @@
|
|||
|
||||
`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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue