abstreet/game/confirm_screencap.sh
2021-02-11 15:09:06 -08:00

13 lines
315 B
Bash
Executable File

#!/bin/bash
city=$1;
map=$2;
rm -rf ../data/input/${city}/screenshots/${map}.zip diff screens_before;
cd screenshots/${city}/${map};
zip ${map}.zip *;
mkdir -p ../../../../data/input/${city}/screenshots/;
mv ${map}.zip ../../../../data/input/${city}/screenshots/;
cd ../../../;
rm -rf screenshots/${city}/${map};