Skip to content

Instantly share code, notes, and snippets.

@ryanpcmcquen
Last active October 29, 2015 00:53
Show Gist options
  • Save ryanpcmcquen/271d889c1a5a21029c9e to your computer and use it in GitHub Desktop.
Save ryanpcmcquen/271d889c1a5a21029c9e to your computer and use it in GitHub Desktop.
htget
#!/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
@milojennings
Copy link

Most excellent!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment