[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Reading Excel or Libreoffice files
- From: Enrico Colombini <erix@...>
- Date: Wed, 28 Dec 2016 09:08:36 +0100
On 27-Dec-16 22:43, TW wrote:
You *can* use LibreOffice in a batch process. In Bash:
soffice "-env:UserInstallation=file://""$tmpdir""/soffice" \
--headless --invisible --convert-to csv "$xslfile"
The "-env:UserInstallation=..." part is to ensure that LibreOffice
will not use the GUI even if there is an instance of LibreOffice with
GUI already running.
Thanks to Hisham and to you; this could be very useful (last time I
needed to read from an .ods file, I wrote a small XML parser...).
Even just lurking in this list [insert guilt here] is always rewarding :-)