Batch file - convert only new files
Clash Royale CLAN TAG#URR8PPP
Batch file - convert only new files
I have a growing directory of PDFs that for which I'm using ImageMagick to convert to JPGs. As it get's larger, it doesn't make sense to re-convert all the files each time.
Here's my command:
FOR /R %%a IN (*.pdf) DO magick -density 120 "%%~a" -quality 90 "%%~dpna.jpg"
How do I structure my batch file or ImageMagick command to only process PDFs that do not already have a match JPG?
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.