Created
August 17, 2014 03:46
-
-
Save lukesnow/ec7e125be48301266cca to your computer and use it in GitHub Desktop.
Linux - convert txt/csv to xlsx
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
# File can be space or comma separated. | |
# ssconvert is part of gnumeric. | |
ssconvert test.txt test-txt.xlsx | |
# File must be delimited with commas. This can be done via: | |
# cat test.txt | tr " " "," > test.csv | |
soffice --headless --convert-to xlsx:"Calc MS Excel 2007 XML" test.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment