Skip to content

Instantly share code, notes, and snippets.

@todgru
Last active September 24, 2020 18:14
Show Gist options
  • Select an option

  • Save todgru/4371033 to your computer and use it in GitHub Desktop.

Select an option

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