mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 17:44:48 -07:00
reworked card database
This commit is contained in:
parent
be9ac2e061
commit
9b1adf2dc1
10 changed files with 327 additions and 113 deletions
10
crystalkeep.sh
Normal file
10
crystalkeep.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue