Created
July 31, 2012 06:24
-
-
Save andrewmichaelsmith/3214228 to your computer and use it in GitHub Desktop.
thugen
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
#!/bin/bash | |
#location of https://github.com/buffer/thug/tree/master/samples on disk | |
samples=/var/www/thug/samples | |
#prefix for webserver (should end in /) | |
url_prefix=http://127.0.0.1/thug/samples/ | |
#thug.py location | |
thug_install=/opt/thug/src/thug.py | |
cd $samples | |
find . -name '*.htm*' -exec python $thug_install $url_prefix{} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment