I am looking for a way of automating a manual conversion of directories containing images (jpgs & pngs) into PDF's. For example ..
I currently use the following command to achieve what I want but I have to do this manually for each directory so it can become a little time consuming, etc
convert DIRECTORY1/*jpg DIRECTORY1.pdf
convert DIRECTORY2/*jpg DIRECTORY2.pdf
convert DIRECTORY3/*png DIRECTORY3.pdf
I would like a way of converting all the directories in the current location to individual pdf files at once.
Any help would be appreciated.