runner for dot/twopi graph

This commit is contained in:
Ismo Vuorinen
2011-04-01 09:24:02 +03:00
parent 7356ced2fb
commit 2502fffe37

13
run_twopi.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# if no movie-links.list then download from
# ftp://ftp.funet.fi//.m/mirrors1l/ftp.imdb.com/pub/movie-links.list.gz
# and decompress
FILENAME=$(date +%Y-%m-%d);
# process and create .dot
python imdbref.py > $FILENAME.dot
# remove old
rm $FILENAME.png
# do the image from the .dot
twopi $FILENAME.dot -Tpng -v -o $FILENAME.png