mirror of
https://github.com/Idnan/bash-guide.git
synced 2018-11-09 02:29:39 +01:00
parent
986117ef3d
commit
809824add8
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ scp source_file user@host:directory/target_file
|
|||
*copy from remote host to local host*
|
||||
```bash
|
||||
scp user@host:directory/source_file target_file
|
||||
scp -r user@host:directory/source_folder farget_folder
|
||||
scp -r user@host:directory/source_folder target_folder
|
||||
```
|
||||
This command also accepts an option `-P` that can be used to connect to specific port.
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue