Convert foo.txt into foo.rtf, using Times 10 for the font
textutil
textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}
textutil
textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}