Skip to content

Instantly share code, notes, and snippets.

@jrc03c
Created June 1, 2022 12:47
Show Gist options
  • Save jrc03c/6bf6723897358121525f40f3e2edf303 to your computer and use it in GitHub Desktop.
Save jrc03c/6bf6723897358121525f40f3e2edf303 to your computer and use it in GitHub Desktop.
Use `rsync` with alternate port
# from: https://stackoverflow.com/a/4630407
rsync -rvz -e "ssh -p <PORT>" --progress /source/path user@host:/target/path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment