Batch recursive convert, replace files, windows

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dieworld
Posts: 1
Joined: 2010-11-10T10:17:33-07:00
Authentication code: 8675308

Batch recursive convert, replace files, windows

Post by dieworld »

I have 2 folders with ~20 subfolders each, and with ~30 images in each subfolder. I want to scale up all these images to 150% with replacing original files. I could use "find . -name "*.jpg" -exec convert..." etc, but i'm on windows. Is there any solution for my problem?
User avatar
GreenKoopa
Posts: 457
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

Re: Batch recursive convert, replace files, windows

Post by GreenKoopa »

Sounds more like a windows batch problem than an ImageMagick problem. I love Windows for many things, but the scripting is weak and often counter-intuitive to me. While I'm sure some batch expert can offer a solution, I personally prefer Perl for this kind of thing. ImageMagick has a Perl interface, but simply issuing the usual shell commands is often easier. If you foresee running into this kind of problem often, I think it is worth a little time to learn Perl or some other cross-platform scripting language.

If you already know how to use make, it could be an alternative solution to this problem.

I wish I had a more direct solution to offer. I'm sure one exists.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Batch recursive convert, replace files, windows

Post by anthony »

See IM Examples, Usage on Windows
http://www.imagemagick.org/Usage/windows/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply