unoconv command_examples

unoconv command_examples

unoconv – convert any document from and to any LibreOffice supported format

You can use unoconv in standalone mode, this means that in absence of an LibreOffice listener, it will starts its own:

unoconv -f pdf some-document.odt

One can use unoconv as a listener (by default localhost:2002) to let other unoconv instances connect to it:

unoconv --listener &

unoconv -f pdf some-document.odt

unoconv -f doc other-document.odt

unoconv -f jpg some-image.png

unoconv -f xsl some-spreadsheet.csv

kill -15 %-

This also works on a remote host:

unoconv --listener --server --port 4567

and then connect another system to convert documents:

unoconv --server --port 4567

Leave a Reply

Your email address will not be published. Required fields are marked *