Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

whyrichard

macrumors 68000
Original poster
Aug 15, 2002
1,716
9
Hey guys,

I use text edit as my primary writing tool, fast and easy and no distractions. However that means that the majority of my files are in .rtf format, and not readable using my iPad very easily... (dropbox, good reader, docs to go... Seems like .rtf is dead?)

so... Seems like my best option is to convert all of my .rtf files into .txt files and have .txt setup as my default save...

Main question: how to batch convert all of my .rtf files to .txt files?

Thanks!

R.
 
Hey guys,

I use text edit as my primary writing tool, fast and easy and no distractions. However that means that the majority of my files are in .rtf format, and not readable using my iPad very easily... (dropbox, good reader, docs to go... Seems like .rtf is dead?)

so... Seems like my best option is to convert all of my .rtf files into .txt files and have .txt setup as my default save...

Main question: how to batch convert all of my .rtf files to .txt files?

Thanks!

R.

You can use automator, My posted example did not work, so I removed it :D
I'm sure you can use it though.

Scratches head, I thought this would be easier. Sorry, I can't see an easy way in Automator.
 
Last edited:
Try this hint.
http://hints.macworld.com/article.php?story=20060309220909384

The command still is in Lion even though the hint says 10.4


example:
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
 
Try this Automator workflow.

Extract
- double click to open
- drop files in the top box "get specified finder items"
- in the second box 'add text to finder item names' choose 'replace text' in the dropdown
- type rtf
- select 'extension only' in dropdown
- type 'txt' in replace box
- click 'run' button in top right hand corner

When you quit the workflow choose 'do not save'.
 

Attachments

  • Batch Rename.workflow.zip
    40.5 KB · Views: 345
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.