Search code examples
windowsbatch-filertf

Is it possible to change an .rtf file to .txt file using some sort of batch script on Windows?


We have a .rtf file that needs to be downloaded from a Windows machine, but it contains a lot of pictures in it so it is 2 GB. I would like to download just the text from this file, so it would be ideal if there was an automated script that ran each day on the Windows machine that could convert this file from rtf to txt. Is there a way to do this?


Solution

  • You can use unrtf.

    unrtf --text /path/to/rtf