# To display information about foo.rtf: textutil -info # To convert foo.rtf into foo.html: textutil -convert # To convert rich text to normal text: textutil -convert # To convert foo.txt into foo.rtf, using Times 10 for the font: textutil -convert -font -fontsize <10> # To load all RTF files in the current directory, concatenates their contents, and writes the result out as index.html with the HTML title set to "Several Files": textutil -cat -title "Several Files" -output *.rtf