------------------------------------------------------------------------ converting from one text format to another ------------------------------------------------------------------------ Convert from one format to another where format = txt, html, rtf, rtfd, doc, docx, wordml, odt, webarchiv $ textutil -info TSA.dat #file information File: TSA.dat Type: plain text Size: 57980 bytes Length: 57980 characters Contents: 11/19/2020 907332 .. $ textutil -convert txt a.html On Linux systems use "html2text"