Skip to content

Instantly share code, notes, and snippets.

@dnlcrl
Created November 10, 2016 10:03
Show Gist options
  • Save dnlcrl/5778d38cf45316c95648c1d7e4958947 to your computer and use it in GitHub Desktop.
Save dnlcrl/5778d38cf45316c95648c1d7e4958947 to your computer and use it in GitHub Desktop.
for i in *.kml; do
new=$(printf "%s.geojson" $(echo $i | cut -f 1 -d '.'));
togeojson "$i" > "$new";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment