Skip to content

Instantly share code, notes, and snippets.

@0x1F602
Created September 30, 2015 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0x1F602/056c60752fa07a1eab3c to your computer and use it in GitHub Desktop.
Save 0x1F602/056c60752fa07a1eab3c to your computer and use it in GitHub Desktop.
rsync -av \
--exclude="/.*" \
--exclude="/golang/" \
--exclude="/bin/" \
--delete \
-e ssh \
~/your_local_site_directory \
username@example.com:~/public_html/site_directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment