Need help batch processing on 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
OM2
Posts: 1
Joined: 2013-09-23T01:35:28-07:00
Authentication code: 6789

Need help batch processing on Windows

Post by OM2 »

On Windows, I want to run a command on massfiles and have it over write the files

I have tried something like this:

Code: Select all

convert -brightness-contrast 15x15 *.jpg
The command gets executed, but only copies of the files are made

Also... I want to recurse through sub directories and process files

My DOS coding isn't too good... I was just hoping someone has done what I want before?

Thanks


OM
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Need help batch processing on Windows

Post by snibgo »

You can use mogrify to change all the files in one directory.

For subdirectories, run convert or mogrify multiple times by using the Windows utilities "for" or "forfiles". For help on these, type "for /?" or "forfiles /?".
snibgo's IM pages: im.snibgo.com
Post Reply