2019-06-05 11:40:08 +02:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
for file in $(ls *-csv) ; do
|
2019-06-06 12:34:23 +02:00
|
|
|
out=$(echo ${file}|cut -d- -f1)".geojson"
|
|
|
|
test -e ${out} && { echo "file exists: "${out}", skipping."; continue; }
|
2019-06-05 11:40:08 +02:00
|
|
|
echo ./lookup.py ${file}
|
2019-06-06 12:34:23 +02:00
|
|
|
./lookup.py ${file} 2>/dev/null > ${out}
|
2019-06-05 11:40:08 +02:00
|
|
|
done
|