Skip to content

Instantly share code, notes, and snippets.

@joshkerr
Created April 26, 2011 17:40
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 joshkerr/942725 to your computer and use it in GitHub Desktop.
Save joshkerr/942725 to your computer and use it in GitHub Desktop.
Downloading a website for backup
# Change the /website to be the folder you want to download to
# Change the example.com to be the website you want to pull down
# This will pull down public pages
wget -m -p -P ~/website example.com
# This will sync using SSH
rsync -avz --delete ~/website/ me@example.com:path/to/website
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment