Last active
August 29, 2015 14:13
-
-
Save andrewxhill/d763c9722d2ae1ed5598 to your computer and use it in GitHub Desktop.
Merging an entire directory of data and loading it to CartoDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash/ | |
## Relies on https://gist.github.com/andrewxhill/093c89fa45e5f657fec7 | |
DATA=`find . -name '*.gpx'` | |
for i in $DATA | |
do | |
echo $i | |
python cartodb-utils.py append -f $i -t {your-existing-table} -k {your-api-key} -u {your-cartodb-account-name} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment