Ade Malsasa Akbar contact
Senior author, Open Source enthusiast.
Monday, August 15, 2016 at 12:01

This command (soffice) is a part of LibreOffice software package to help you perform many document files manipulations (including conversion) without GUI. In this command example, we convert all odt to pdf files in a directory. Pay attention to the blank spaces in this command line. The sample output is shown below.

soffice --headless --convert-to pdf *.odt

And the conversion results are like in picture below. Left = odt, right = pdf.