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

ZFS syntax (updated)

/var/log/journal taking up lots of space

throttle traffic on apache