I’m using LibreOffice 3.4 on Fedora 16. I want to batch convert lots of .xls/x, .doc/x, and .ppt/x files to plain text.
When I issue the following command to just try to convert a single file, the command fails silently with an exit code of 1.
$ soffice.bin --headless --convert-to txt foo.xls
$ echo $?
I’d also like to know how to efficiently convert a whole bunch of these files without starting and stopping LibreOffice everytime. It appears that the
--acceptargument may be the way, but there seems to be no example of this anywhere. Would greatly appreciate if you could share one.
Many thanks in advance,