#!/bin/sh find . -type f -iname "*.*" -exec soffice --headless --convert-to pdf {} + && pdfunite *.pdf output.pdf