Is there a way to convert multiple file types in a folder with a single command?
I would like to be able to convert any .doc, .docx, .ppt, .pptx, .xls, .xlsx that is added to a folder.
I know how to do this for each individual file type with:
./soffice --headless --convert-to pdf --outdir /FILES2/ /FILES1/*.doc
But would love to be able to handle all files types with one command.
Any help will be greatly appreciated.