How to Convert doc File to txt File using Mac Terminal

The Mac terminal provides a powerful “textutil” command, which can be used to convert .doc files to .txt files directly from the terminal without opening the .doc file.

Here is the command which can be used for the same :

$ textutil -convert txt yourdocfile.doc

Here, the doc file “yourdocfile.doc” will be converted to txt file and a new file “yourdocfile.txt” will be created in the folder with the contents of the doc file.