mirror of
https://github.com/ivuorinen/imdbref.git
synced 2026-02-13 23:49:59 +00:00
runner for dot/twopi graph
This commit is contained in:
13
run_twopi.sh
Executable file
13
run_twopi.sh
Executable 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
|
||||
Reference in New Issue
Block a user