Created
October 8, 2015 14:14
-
-
Save achavez/21384f6c7c3be131d77f to your computer and use it in GitHub Desktop.
Convert a folder of Excel files to CSVs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
which xlsx2csv || pip install xlsx2csv | |
for file in *.xlsx | |
do | |
echo "Converting $file" | |
xlsx2csv --ignoreempty --date="%Y-%m-%d" "$file" "$file.csv" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment