Skip to content

Instantly share code, notes, and snippets.

@jdmichaud
Created August 30, 2025 10:37
Show Gist options
  • Save jdmichaud/319803fda2538eb59f39744f2753f7e1 to your computer and use it in GitHub Desktop.
Save jdmichaud/319803fda2538eb59f39744f2753f7e1 to your computer and use it in GitHub Desktop.
rsync

-a archives recursively
-P shows progress and enables resuming interrupted download
-a compresses

rsync -azP -e 'ssh -p PORT' <user>@<IP>:/path/to/folder .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment