summaryrefslogtreecommitdiff
path: root/upload.bash
diff options
context:
space:
mode:
authorJoop Kiefte <ikojba@gmail.com>2023-08-09 03:06:37 +0100
committerJoop Kiefte <ikojba@gmail.com>2023-08-09 03:06:37 +0100
commitaa38edcab665f7604e5f09b65d33156dbc78a3c2 (patch)
tree39df4c9fc6f4f761850185c0c157138000a88501 /upload.bash
parent1260bcaccaf7b9ab6716937cf18acb4475d72917 (diff)
Add shellscripts for processing
Diffstat (limited to 'upload.bash')
-rw-r--r--upload.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/upload.bash b/upload.bash
new file mode 100644
index 0000000..59f067d
--- /dev/null
+++ b/upload.bash
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+rm *.txt *.csv
+unzip $1
+
+for file in *.txt; do mv $file ${file%.txt}.csv; echo $file; bash import.bash ${file%.txt} ; done