How to convert .docx to .odt with Libreoffice on Ubuntu bash

There is a problem converting DOCX to PDF using Libreoffice. (in RTL documents) but converting the same document saved in ODT format will work fine.

Does anyone know how to convert an existing DOCX file to ODT using Ubuntu bash?

+7
ubuntu docx odt libreoffice
source share
2 answers

Then you can use this command directly from the command line

libreoffice --headless --convert-to odt * .docx

+12
source share

You can directly save it in any format in Libre Office.

  • Click Save As

  • Choose ODT as format

  • Name the file

  • Click OK

0
source share

All Articles