In Ubuntu 16.04 LTS
, I use pdftoppm
to convert pdf
files to png files one by one like the code given below:
pdftoppm -rx 300 -ry 300 -png XYZ.pdf XYZ
However, I have to convert many pdf files to png files. I wonder if it is possible to convert many pdf files to png files with single command like
pdftoppm -rx 300 -ry 300 -png *.pdf *
Any help will be highly appreciated. Thanks
chmod u+x yourfile.sh
) for file and launch it in this way:./yourfile.sh
– EdiD Sep 08 '16 at 15:51chmod a+x yourfile.sh
and./yourfile.sh
did the trick. Thanks – MYaseen208 Mar 26 '17 at 14:05