Computer Tips - How can I convert a Rich Text Format (RTF) file to HTML on the command line?

Date: 2013dec3 OS: Linux Q. How can I convert a Rich Text Format (RTF) file to HTML on the command line? A. You can use the unrtf command:
unrtf --html myfile.rtf > myfile.html
On RedHat/Fedora/CentOS there is an "unrtf" package. unrtf isn't perfect. Instead of converting text with Heading1 style into <h1> with some css applied to used old-style <font> and other tags. It doesn't understand the text part of a hyperlink. But for basic stuff its fine. This program used to be called rtf2htm.