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

Automatically Fix Song Metadata and Filenames on Linux with Beets

throttle traffic on apache

script to show all files with disk usage sizes