Hi
I want to resize all my photos but there are so many subfolders too and every subfolder contents JPG files. Now, I want to resize all my main and sub folder's JPG files with HIGEST CLEARITY.

I know that there is "convert" command but it only do inside one folder and I want to resize all images inside sub folders too.

How do I do this ?

Recommended Answers

Maybe the "find" command with the "exec" option?

Jump to Post

All 3 Replies

Maybe the "find" command with the "exec" option?

Oh
I got the command

find . -iname "*.jpg" | xargs -l -i convert -resize 1000x600  {}  {}

This will do my job.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.