Created
March 13, 2019 03:42
-
-
Save Giladx/196d2b055320c342246eb17dab5de6ee to your computer and use it in GitHub Desktop.
wget Static Site
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
wget -P /path/to/destination/directory/ -mpck --user-agent="" -e robots=off --wait 1 -E https://www.example.com/ | |
wget -P /home/user/static_site/ -mpck --user-agent="" -e robots=off --wait 1 -E http://my.website.com/ | |
mv /home/user/static_site//my.website.com /home/user/static_site/static |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment