Page 1 of 1

Need help batch processing on Windows

Posted: 2013-09-23T01:43:03-07:00
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

Re: Need help batch processing on Windows

Posted: 2013-09-23T01:58:44-07:00
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 /?".