Created
August 24, 2018 14:04
-
-
Save therealkevinard/13ba0db0412e9a55f7ba619bd50b38cb to your computer and use it in GitHub Desktop.
Wget: Pull static mirror of production site (for etl, migration, etc)
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
#!/usr/bin/env bash | |
site="https://www.site.com/" | |
wget -e robots=off --wait 0.25 --mirror --convert-links --adjust-extension --page-requisites --no-parent ${site} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment