Skip to content

Instantly share code, notes, and snippets.

@adsurbum
Last active December 16, 2015 14:49
Show Gist options
  • Save adsurbum/5451621 to your computer and use it in GitHub Desktop.
Save adsurbum/5451621 to your computer and use it in GitHub Desktop.
rsync to remote machine
rsync -azv -e "ssh -i $key" $localDir $userName@$host:$remoteDir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment