Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4 Convert document formats on the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4 Convert document formats on the command line
Authored by: morespace54 on Mar 05, '08 10:46:07AM

That would be:

textutil -convert fmt filename -output path/to/newfile.fmt


So let's say you have a document named "MySource" in a RTF format (in your current directory) and you want to save the result as a file named "Result" in a TXT format (in your Documents directory), you would do the following:

textutil -convert txt MySource.rtf -output ~/Documents/Result.txt



[ Reply to This | Parent | # ]