aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-09-17 21:02:32 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-09-17 21:02:32 +0100
commit82e603df33359adc48caa5bc56e23084ac15abdf (patch)
tree3690068a54fec82b2a08df8bcb2cb59a44ae938d
parentf716fba4012d59dbaa31e1d9c7a0d367944360d2 (diff)
script to delete config/datamaps.db
-rw-r--r--populate_db.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/populate_db.sh b/populate_db.sh
new file mode 100644
index 0000000..73e9329
--- /dev/null
+++ b/populate_db.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+echo "Deleting datamaps.db..."
+if [ -f ~/.config/datamaps/datampaps.db ] ; then
+ rm ~/.config/datamaps/datamaps.db
+fi
+#echo "Importing datamap.csv from testdata directory..."
+#./bin/datamaps -- datamap --import ~/Documents/datamaps/input/datamap.csv --datamapname "Sept 2020" \ No newline at end of file