Page 1 of 1

Edit images of sub-folders in one attempt

Posted: 2018-08-12T12:55:21-07:00
by Mukesh Dasharath
Hi there,

I have 50 folders containing 3-4 images in each folder with 1000x1000 dimension
want to resize those in 400x600 dimension using IM script in once, How?

my command is- magick mogrify "D:\Test\Footwear\Bckp\*.jpg" -resize 400x600 "D:\Test\Footwear\Bckp\*.jpg"

IM Version: ImageMagick 7.0.7-38 Q16 x64 2018-06-02
Operating System: Windows 10

Re: Edit images of sub-folders in one attempt

Posted: 2018-08-12T13:25:55-07:00
by snibgo
You can use "for" to loop through directories, eg "for /R %D in (.) do ..."

Type "help for" for help.