I am using LibreOffice 126.96.36.199 Build ID: 350m1(Build:2) and would like to run LibreOffice calc from the terminal to open an .xls document and output to .csv. I can do this via the GUI by just opening the xls file and saving as csv and specifying the delimeter, but I would like to be able to do it via the terminal.
Research I've done:
when I run
> man libreoffice
SYNOPSIS libreoffice [--accept=accept-string] [--base] [--calc] [--convert-to output_file_extension[:output_filter_name]
which has a command --convert-to output but I am not exactly sure how an example of that would look, I tried:
libreoffice --convert-to csv:writer_csv_Export --outdir /Data/ *.xls
as https://help.libreoffice.org/Common/Starting_the_Software_With_Parameters/vi mentions but it is not working.