Convert .csv file to .ods using terminal
Is it possible convert .csv files to .ods files using command line? I have a lot archives to convert and I don't want convert them one by one.
1 Answer
I used the LibreOffice commandline to convert a sample csv file:
soffice --convert-to ods koko.csv --headlessSo to use it in a batch command would be
for i in "$1"/*; do soffice --convert-to ods "$i" --headless; doneUsage: ./converter.sh /path/to/folder