aboutsummaryrefslogtreecommitdiff
path: root/regenBlackboardDB.sh
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-05-10 10:58:57 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-05-10 10:58:57 -0400
commit11e54ebe50bbb70d520b80fd7472837ccc1ce39b (patch)
tree57048a210029961096e90a19e199ff8d16406d0d /regenBlackboardDB.sh
parent176c9f8057471749c4f3a0a7afc3e4f4bde110fc (diff)
downloadGradeBook-11e54ebe50bbb70d520b80fd7472837ccc1ce39b.tar.gz
GradeBook-11e54ebe50bbb70d520b80fd7472837ccc1ce39b.zip
added new script to manage blackboard
Diffstat (limited to 'regenBlackboardDB.sh')
-rwxr-xr-xregenBlackboardDB.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/regenBlackboardDB.sh b/regenBlackboardDB.sh
new file mode 100755
index 0000000..ed3ffda
--- /dev/null
+++ b/regenBlackboardDB.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+rm -f 2021_Gradescope.db
+printf '.mode csv\n.import 2021_Blackboard.csv export_table' | \
+ sqlite3 2021_Blackboard.db
+
+