mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 07:52:27 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,12 +15,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Copy a directory recursively:
|
||||
|
||||
`rcp -r {{path/to/local_directory}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
`rcp {{[-r|--recursive]}} {{path/to/local_directory}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
|
||||
- Preserve the file attributes:
|
||||
|
||||
`rcp -p {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
`rcp {{[-p|--preserve]}} {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
|
||||
- Force copy without a confirmation:
|
||||
|
||||
`rcp -f {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
`rcp {{[-f|--from]}} {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
|
||||
Reference in New Issue
Block a user