Mac OS X: convert html to text using textutil

textutil can be used to convert between txt, html, rtf, rtfd, doc, docx, wordml, odt, or webarchive formats. And it also handles encodings. To convert a html file to plain text:
textutil -convert txt 1.html 

See also

No comments:

Post a Comment