Page 1 of 1
Resizing Script to resize jpegs in subdirecties
Posted: 2018-12-13T10:35:51-07:00
by Kroto86
This may have been asked before, I could not find anything though. I was hoping someone has a script to resize all jpegs in a folder including its nested sub folders and overwrite the original so it keeps the file paths. We have a share drive that is nearing capacity. Thanks so much in advance.
Re: Resizing Script to resize jpegs in subdirecties
Posted: 2018-12-13T13:56:07-07:00
by fmw42
You will have to write a script loop over each directory and use mogrify to process each folder of files. But scripting is OS dependent and you have not said what platform you are on.
Please, always provide your IM version and platform when asking questions, since syntax may differ.
Also provide your exact command line and your images, if possible.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at
http://www.imagemagick.org/discourse-se ... f=1&t=9620
If using Imagemagick 7, then see
http://imagemagick.org/script/porting.php#cli
For novices, see
http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown
https://imagemagick.org/script/porting.php#cli
Re: Resizing Script to resize jpegs in subdirecties
Posted: 2018-12-13T14:48:22-07:00
by Kroto86
Im sorry. ImageMagick-7.0.8-16-Q16-x64 in windows 10 64 bit
Re: Resizing Script to resize jpegs in subdirecties
Posted: 2018-12-13T16:06:09-07:00
by fmw42
Search this forum. This topic has come up before and there may have been posts of code.