Command Line Interface
Installation
PHP have to be installedInstallation
$ wget --no-check-certificate -O '/usr/local/bin/convertio' https://api.convertio.co/convertio $ chmod +x /usr/local/bin/convertio
Usage
Set your CloudConvert API Key as enviroment variable
$ export CONVERTIO_API_KEY=_YOUR_API_KEY_
To convert input.pdf to jpg:
$ convertio -f jpg input.pdf
Batch converting is supported:
$ convertio -f pdf *.txt 1.txt: Done! [32999 Bytes] => ./1.txt.pdf 2.txt: Done! [32999 Bytes] => ./2.txt.pdf All Done!