recursive convert DOC, DOCX to PDF
We have created Python scripts in LibreOffice Utils that recursively search for files matching a glob pattern (such as *.docx) and convert or print these input documents. They use LibreOffice in headless (console) mode, just a single Terminal command.
- doc2pdf.py: recursively converts directories containing DOC, DOCX, RTF or other word processing files to PDF.
- doc2print.py: recursively print documents to the default printer