Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Last active December 17, 2015 18:08
Show Gist options
  • Save niraj-shah/5650556 to your computer and use it in GitHub Desktop.
Save niraj-shah/5650556 to your computer and use it in GitHub Desktop.
Rsync from remote server to local
sudo rsync -uvzr -e 'ssh -p 2222 -l username' domain.com:/var/www/html/ /var/www/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment