Created
April 26, 2011 17:40
-
-
Save joshkerr/942725 to your computer and use it in GitHub Desktop.
Downloading a website for backup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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