Linux – linux equivalent of the Mac OS X command “textutil”

conversiondocumentslinux

On Mac OS X there's a very handy command called textutil, that can be invoked from the terminal and allows to convert a document from a format to another; Sometimes I use it to convert a RTF file into HTML, but it's also able to convert doc, docx, odt and other formats.

I used to believe that it was a standard unix command, but I cannot find it and when I try to write sudo apt-get install textutil Ubuntu said that it have no idea of what textutil is… maybe I have searched in the wrong place for the command?

Do you know if something similar exists for Linux? I need to invoke that command from a script that will run on a linux server.

Best Answer

GNU unrtf does almost exclusively what you want.

Pandoc can do a lot more.

Related Question