diff options
Diffstat (limited to 'upload.bash')
-rw-r--r-- | upload.bash | 6 |
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 |