Examples (5)
Display information about `file.rtf`
textutil -info path/to/file.rtfConvert `file.rtf` into `file.html`
textutil -convert html path/to/file.rtfConvert rich text to normal text
textutil path/to/file.rtf -convert txtConvert `file.txt` into `file.rtf`, using Times 10 for the font
textutil -convert rtf -font Times -fontsize 10 path/to/file.txtLoad 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 html -title "Several Files" -output path/to/index.html *.rtfmade by @shridhargupta | data from tldr-pages