Batch recursive convert, replace files, windows
Batch recursive convert, replace files, windows
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?
- GreenKoopa
- Posts: 457
- Joined: 2010-11-04T17:24:08-07:00
- Authentication code: 8675308
Re: Batch recursive convert, replace files, windows
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.
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.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Batch recursive convert, replace files, windows
See IM Examples, Usage on Windows
http://www.imagemagick.org/Usage/windows/
http://www.imagemagick.org/Usage/windows/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/