Batch Convert Word DOC to RTF

Working with a lot of Word documents and want to convert them all to another format like Rich Text Format (RTF) ? If you’re on GNU/Linux and have Abiword installed, you’re in luck!

CONVERTS ALL WORD DOC FILES IN CURRENT DIRECTORY TO RTF

abiword –to=rtf *.doc

Other formats Abiword can convert to:

abw, zabw, rtf, txt, utf8, html

as well as others depending on available filters.

For example, the following command would convert all RTF files to ODT (OpenOffice format):

abiword –to=odt *.rtf

Or, convert from DOC to ODT (Word to OpenOffice):

abiword –to=odt *.doc

Convert PDF to DOC (formatting won’t be great, though)

abiword –to=doc *.pdf

Converting lots of documents has never been so easy!


PingIt! pingthis();
Delicious Bookmark this on Delicious
Subscribe to Around the Corner-MGuhlin.org


Everything posted on Miguel Guhlin’s blogs/wikis are his personal opinion and do not necessarily represent the views of his employer(s) or its clients. Read Full Disclosure


Discover more from Another Think Coming

Subscribe to get the latest posts sent to your email.

6 comments

  1. on OSX the commandline textutil does the same sort of thing:for example:textutil -convert rtf *.docconverts .docs to rtfcan usetxt, rtf, rtfd, html, doc, docx, odt, wordml, or webarchive too.

  2. on OSX the commandline textutil does the same sort of thing:for example:textutil -convert rtf *.docconverts .docs to rtfcan usetxt, rtf, rtfd, html, doc, docx, odt, wordml, or webarchive too.

  3. @John – Thanks for the tip on OS X!! Great way of accomplishing that. I hope you don't mind me “comment hoisting” your info here.With appreciation,Miguel Guhlin

  4. abiword –to=doc *.rtfpictures embedded in .rtf do not survive. All converted files have pictures replaced by “Read Error” label.

Leave a comment