Convert rich text to normal text

textutil

textutil {{foo.rtf}} -convert {{txt}}

click the source code to copy