2019-06-05 11:40:08 +02:00
|
|
|
#!/usr/bin/env sh
|
2019-06-06 12:39:15 +02:00
|
|
|
echo "this takes some time depending on the amount of addresses in your lists …"
|
2019-11-15 22:35:44 +01:00
|
|
|
for file in *-csv ; do
|
|
|
|
out=$(echo "${file}"|cut -d- -f1)".geojson"
|
2020-01-30 23:48:14 +01:00
|
|
|
if test -e "${out}" ; then
|
2019-11-15 22:35:44 +01:00
|
|
|
echo "file exists: ${out}, skipping."
|
|
|
|
continue
|
|
|
|
fi
|
|
|
|
echo ./lookup.py "${file}"
|
2020-01-30 23:48:14 +01:00
|
|
|
./lookup.py "${file}" > "${out}"
|
|
|
|
#~ ./lookup.py "${file}" 2>/dev/null > "${out}"
|
2019-06-05 11:40:08 +02:00
|
|
|
done
|