diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-17 21:24:40 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | bfc125f7465430a9b9f12e2942c9698f0cb666d8 (patch) | |
| tree | 3b46878f5dccc2c0f090064978fc1236751d76ac | |
| parent | 8915093ce1ed103cc52481118e1ab47bec663236 (diff) | |
Fixed extract script, wget tells me not to use -O
| -rwxr-xr-x | extract.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -23,7 +23,7 @@ extract() { size="$1" things="$2" if [ ! -f "data/$db_file" ]; then - wget "https://www.playtak.com/games_anon.db" -O "data/$db_file" + curl "https://www.playtak.com/games_anon.db" -o "data/$db_file" fi echo Extracing games of size "$size"... sqlite3 "data/$db_file" "$(query $size $things)" | shuf > "data/playtak-$size" @@ -57,6 +57,10 @@ process() { echo "Done, available in data/$fn-$size.csv.gz" } +if [ ! -d data ]; then + mkdir data +fi + make pptdb for size in 5; do |
