1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 01:26:03 +02:00

rsync: edit example for use a different port for ssh (#4359)

This commit is contained in:
Nick Smyrnioudis 2020-10-17 23:27:38 +03:00 committed by GitHub
parent 83df2f6125
commit fe00e56398
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}`