Sunday, December 1, 2019

To Convert a Load of Document Files into Plain Text (In Order to Diff Them)

for i in * ; 
do 
  echo "$i" ;
  libreoffice --headless --convert-to txt:Text "$i" ; 
done