reworked card database

This commit is contained in:
Max-Wilhelm Bruker 2009-06-20 00:22:50 +02:00
parent be9ac2e061
commit 9b1adf2dc1
10 changed files with 327 additions and 113 deletions

10
crystalkeep.sh Normal file
View file

@ -0,0 +1,10 @@
#!/bin/bash
while read; do
filename=`echo $REPLY | cut '-d,' -f 1`
edition=`echo $REPLY | cut '-d,' -f 2`
editionLong=`echo $REPLY | cut '-d,' -f 3`
wget http://www.crystalkeep.com/magic/rules/oracle/oracle-$filename.txt
mv oracle-$filename.txt "${edition}_${editionLong}.txt"
done