mtgsqlive/testing_mac.sh

8 lines
413 B
Bash
Raw Normal View History

2016-07-18 05:11:33 +00:00
#!/usr/bin/env bash
./json_to_sql.py 1 ~/Desktop/Real.db ~/Desktop/AllSets-x.json;
./sql_to_json.py ~/Desktop/Real.db ~/Desktop/MyOutput.json;
./json_to_sql.py 1 ~/Desktop/Mine.db ~/Desktop/MyOutput.json;
./sql_to_json.py ~/Desktop/Mine.db ~/Desktop/MySecondOutput.json;
diff ~/Desktop/MyOutput.json ~/Desktop/MySecondOutput.json > ~/Desktop/Diff.txt;
md5sum ~/Desktop/MyOutput.json ~/Desktop/MySecondOutput.json