Skip to content

Instantly share code, notes, and snippets.

@todgru
Last active September 24, 2020 18:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todgru/4371033 to your computer and use it in GitHub Desktop.
Save todgru/4371033 to your computer and use it in GitHub Desktop.
scp rsync

rsync

Similar approach as scp. Copy remote folder (or file) to local.

On local, recursive copy remote directory (absolute path) encrypted over ssh to new local directory:

local:~$ rsync -av -e ssh username@hostname:/home/todd ./new-folder-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment