Skip to content

Instantly share code, notes, and snippets.

@nikmolnar
Last active February 16, 2023 21:38
Show Gist options
  • Save nikmolnar/f93ca6e1b1a31a70ada27fe0744d3392 to your computer and use it in GitHub Desktop.
Save nikmolnar/f93ca6e1b1a31a70ada27fe0744d3392 to your computer and use it in GitHub Desktop.
for file in tpk/*.tpk; do \
fileout="${file##*/}" && \
tpk export mbtiles --overwrite --drop-empty -tb "$file" "mbtiles/${fileout%%.*}.mbtiles" \
; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment