I have a directory full of OpenOffice.org
odt files that I'd like to batch-convert to
doc files. Is there an easy way to do this?
(bonus points if your answer uses OpenOffice and a Linux command-line)
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
You can use BatchConv
BatchConv is a batch tool allowing conversion of a file list from and to any supported OpenOffice.org import/export file formats. This macro based wizard asks for a file list and the target directory and file format. It will then loop over the list and use Ooo import/export capabilities to process the documents.
Take a look at this link:
This little program batch / mass convert Microsoft Office documents (*.doc, *.xls, and .ppt) to their OpenOffice equivalent (.odt, *.ods, and *.odp (aka OpenDocument Format)). The nice thing about this script is that it converts all documents specified in the input, including subdirectories. The result can be put in another directory, and it retains its original directory structure (the script takes care of keeping the relative path). Use it at your own risk!
Word 2010 (and possibly previous versions as well) can natively open OpenOffice (odt) files, right? If so, and you want a Windows method, simply run a command prompt, cd to the directory where the files exist, and execute the following command: ren *.odt *.doc
No conversion neccessarry, just a rename of the file extensions.