Nice little job here. Needed to convert about 30 .docx files to .txt. Went so quickly I wasn’t even sure it worked. Sure enough, my files were sitting there when I listed the directory.
in the directory of the files.
soffice --headless --convert-to txt:Text *.docx