$ soffice --headless -convert-to odt:"writer8" somefile.docx
In this example, the docx gets converted to Open Document .odt format.
For other formats, you'll need to specify the correct filter (Hint: see "Comments" link below for a nice list).
by David Winterbottom (codeinthehole.com)
0sem comentários ainda