Convertir archivo con LiberOffice
libreoffice --headless --convert-to "type of file you want to convert" --outdir . filename.pptx
Example:
This is the command that we are using to convert PPTX to PDF:
libreoffice --headless --convert-to pdf --outdir . filename.pptx
Enthusiastic Emu