abstreet/game/confirm_screencap.sh
2020-11-05 14:42:40 -08:00

12 lines
261 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 *;
mv ${map}.zip ../../../../data/input/${city}/screenshots/;
cd ../../../;
rm -rf screenshots/${city}/${map};