command line convert pptx to pdf code example Example: linux pptx to pdf libreoffice --headless --invisible --convert-to pdf *.pptx