Rtf to txt on Unix [closed]

Can anyone recommend software (preferably freeware) for batch converting rtf files to txt files on Unix?


Solution 1:

You didn't mention what flavour of UNIX but I think there's a textutil on many.

http://www.unix.com/man-page/All/1/TEXTUTIL/

 -convert fmt  Convert the specified files to the indicated format and
       write each one back to the file system.

       fmt is one of:  txt, html, rtf, rtfd, doc, docx, wordml,
               odt, or webarchive

Solution 2:

There are many different ones, here are the ones I've tested successfully (all open source and free):

  • unrtf
  • wv
  • unoconv

Solution 3:

There is "unrtf", but while the Ubuntu package data claims that it can create text output, the GNU unrtf homepage does not mention that format. But perhaps you can try that.