.rtf to .txt

Discussion in 'Mac OS X Lion (10.7)' started by whyrichard, Aug 7, 2011.

  1. whyrichard macrumors 68000

    Joined:
    Aug 15, 2002
    #1
    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.
     
  2. mrapplegate, Aug 7, 2011
    Last edited: Aug 7, 2011

    mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #2
    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.
     
  3. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #3
    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
     
  4. lowmans100 macrumors newbie

    Joined:
    Jun 1, 2011
    #4
    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'.
     

    Attached Files:

Share This Page