To mass convert .doc
and .ppt
to .pdf
, you can use unoconv.
To install:
sudo apt-get install unoconv
To convert the files you can use the following commands:
unoconv -f pdf filename.doc
unoconv -f pdf filename.ppt
unoconv -f pdf *.doc
unoconv -f pdf *.ppt
Batch Convert Document to csv, pdf, jpg, docx, xlsx, odt, or ods
To batch convert document you have to work under terminal, prepare a document that will be converted in a folder (can be consist of several sub-folders), then do following :
Synopsis :
- unoconv [options] to-file from-file
Convert single xls format to pdf
- unoconv -f pdf some-document.xls
Convert single png format to jpg
- unoconv -f jpg some-document.png
Batch Convert docx format to pdf
- unoconv -f pdf *.docx
Batch Convert xlsx format to ods
- unoconv -f ods *.xlsx
Batch Convert csv format to xlsx
- unoconv -f xlsx *.csv
Batch Convert csv format to ods
- unoconv -f ods *.csv
You can change the option, source, and destination format according to your needs. Some document format which supported by the this application are pdf, odf, odt, ods, xls, xlsx, doc, docx, rtf, ppt, pptx, csv, png, jpg, bmp and svg.