Last active
October 29, 2015 00:53
-
-
Save ryanpcmcquen/271d889c1a5a21029c9e to your computer and use it in GitHub Desktop.
htget
This file contains hidden or 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
#!/bin/sh | |
## | |
## wget -N https://gist.githubusercontent.com/ryanpcmcquen/271d889c1a5a21029c9e/raw/htget -P /usr/local/bin/ && chmod 755 /usr/local/bin/htget | |
## | |
## run as: | |
## htget example.com | |
## | |
## NOTE: you have to feed httrack the correct | |
## version of the site, either www or non-www | |
SITE=$1 | |
httrack -%P --robots=0 "${SITE}" -O "${SITE}/" -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most excellent!