Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jabberdog/752e20c0bf406058896d6fb1837eaa31 to your computer and use it in GitHub Desktop.
Save jabberdog/752e20c0bf406058896d6fb1837eaa31 to your computer and use it in GitHub Desktop.
Recursively secure copy files from a remote to local
-r = recursive
-P = port
scp -r -P 2020 user@SERVER_IP:ABSOLUTE/REMOTE/PATH/TO/REMOTE/FOLDER /ABSOLUTE/PATH/TO/LOCAL/FOLDER/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment