Skip to content

Instantly share code, notes, and snippets.

@markng
Created February 17, 2012 00:28
Show Gist options
  • Save markng/1849167 to your computer and use it in GitHub Desktop.
Save markng/1849167 to your computer and use it in GitHub Desktop.
duct tape to render and upload all tilemill projects automatically
for file in `ls`:; do rm /Users/mng/Documents/MapBox/export/$file.mbtiles; tilemill export $file /Users/mng/Documents/MapBox/export/$file.mbtiles --format=mbtiles --files=/Users/mng/Documents/MapBox; tilemill export $file /Users/mng/Documents/MapBox/export/$file.mbtiles --format=upload --files=/Users/mng/Documents/MapBox; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment