mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 13:06:00 +02:00
rsync: edit example for use a different port for ssh (#4359)
This commit is contained in:
parent
83df2f6125
commit
fe00e56398
1 changed files with 2 additions and 2 deletions
|
@ -31,6 +31,6 @@
|
|||
|
||||
`rsync -e ssh --delete {{remote_host}}:{{path/to/remote_file}} {{path/to/local_file}}`
|
||||
|
||||
- Transfer file over SSH and show global progress:
|
||||
- Transfer file over SSH using a different port than the default and show global progress:
|
||||
|
||||
`rsync -e ssh --info=progress2 {{remote_host}}:{{path/to/remote_file}} {{path/to/local_file}}`
|
||||
`rsync -e 'ssh -p {{port}}' --info=progress2 {{remote_host}}:{{path/to/remote_file}} {{path/to/local_file}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue