Skip to content

Instantly share code, notes, and snippets.

@serguk89
Forked from khoatran/rsync-remote.sh
Created November 3, 2018 20:21
Show Gist options
  • Save serguk89/e2cbd01a9791b92e6463f71e07598f78 to your computer and use it in GitHub Desktop.
Save serguk89/e2cbd01a9791b92e6463f71e07598f78 to your computer and use it in GitHub Desktop.
Rsync from remote
rsync -avz --progress -e "ssh -i ssh_key" root@ip_of_the_remote:/folder/* /target-folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment