cartodb/script/import

9 lines
173 B
Plaintext
Raw Normal View History

2020-06-15 10:58:47 +08:00
#!/bin/sh
if [ -z "$2" ]; then
echo "Usage: script/import <username> <path to file>"
exit 1
fi
bundle exec rake cartodb:import[$1,$2]
if test $? -ne 0; then exit 1; fi