abstreet/game/confirm_screencap.sh

12 lines
261 B
Bash
Raw Normal View History

#!/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};