libreoffice file conversion in batch mode

Usage is
libreoffice --invisible --convert-to [file format] --outdir [directory] [input files]
–invisible flag turns off the GUI

Below example is to convert odt format into doc format – MS Word 97.
libreoffice --invisible --convert-to doc --outdir ./doc_format Chapter-4-Throttle-Control-Everyman\'s-Ideal-Line.odt
convert /home/penguin/Workshop/translation/A-TWIST-OF-THE-WRIST-VOLUME-II/Chapter-4-Throttle-Control-Everyman's-Ideal-Line.odt -> /home/penguin/Workshop/translation/A-TWIST-OF-THE-WRIST-VOLUME-II/doc_format/Chapter-4-Throttle-Control-Everyman's-Ideal-Line.doc using MS Word 97

About janpenguin

Email: janpenguin [at] riseup [dot] net Every content on the blog is made by Free and Open Source Software in GNU/Linux.
This entry was posted in GNU/Linux and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s