Skip to content

Instantly share code, notes, and snippets.

@rfilmyer
Created July 31, 2017 20:56
Show Gist options
  • Save rfilmyer/1f3c59c06f5ee523bbbe75c3ed745428 to your computer and use it in GitHub Desktop.
Save rfilmyer/1f3c59c06f5ee523bbbe75c3ed745428 to your computer and use it in GitHub Desktop.
Batch process pre-downloaded HTML files through Throwverwatch
for f in html/*.html; do
name=`echo $f | grep -o "[0-9]\{4\}\.[0-9]\{2\}\.[0-9]\{2\}-[0-9]\{2\}\.[0-9]\{2\}\.[0-9]\{2\}"`
echo $name
python ../throwverwatch --from $f --date $name
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment