mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-25 23:43:25 +03:00
14 lines
390 B
Bash
Executable File
14 lines
390 B
Bash
Executable File
#!/bin/bash
|
|
|
|
country=$1
|
|
city=$2;
|
|
map=$3;
|
|
|
|
rm -rf ../data/input/${country}/${city}/screenshots/${map}.zip diff screens_before;
|
|
cd screenshots/${country}/${city}/${map};
|
|
zip ${map}.zip *;
|
|
mkdir -p ../../../../../data/input/${country}/${city}/screenshots/;
|
|
mv ${map}.zip ../../../../../data/input/${country}/${city}/screenshots/;
|
|
cd ../../../../;
|
|
rm -rf screenshots/${country}/${city}/${map};
|