Convert ODT to DOCPosted: January 16, 2015
Just like when converting ODT to PDF, you can use LibreOffice (OpenOffice.org) in command line mode for high quality conversion of all of the ODT files in a directory to MS Word DOC files:
libreoffice --headless --convert-to doc ./*.odt
- Before you run this command, make sure that LibreOffice (OpenOffice.org) is not running in background. Otherwise it will fail.
- Use ./*.odt instead of simply *.odt, because otherwise the program will consider file names beginning with “-” to be an argument and will fail.