Friday, October 7, 2016

Convert multiple PDF files to JPG in Ubuntu

Quite easy:

for filename in /path/to/*.pdf; do convert -density 300 "$filename" "$filename.jpg";done