textutil

Just discovered the wonderful textutil command on the Mac OS X command line. I needed to convert a batch of TXT files to RTF. (I am switching to Notational Velocity with SimpleNote.) Instead of opening each one in TextEdit and saving as RTF, I simply put them all in a directory and typed this:

textutil -convert rtf *.*

Done and done.

Leave a Reply

*