bulk convert files from microsoft word to text

Find the soffice binary. In linux it will probably be /usr/local/bin/soffice. 

This example is for apple. 

./Applications/LibreOffice.app/Contents/MacOS/soffice --convert-to txt --outdir ~john/Desktop/wordfiles/ ~john/Desktop/wordfiles/*doc

The above will convert all wordfiles in the folder "wordfiles" on the desktop, to text files.

Popular posts from this blog

Pause a program which is using too much CPU

throttle traffic on apache

/var/log/journal taking up lots of space