| | |
How to bulk resize JPG files in folder and subfolder
Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2006
Posts: 43
Reputation:
Solved Threads: 0
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 ?
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 ?
•
•
Join Date: Oct 2006
Posts: 43
Reputation:
Solved Threads: 0
Oh
I got the command
This will do my job.
I got the command
bash Syntax (Toggle Plain Text)
find . -iname "*.jpg" | xargs -l -i convert -resize 1000x600 {} {}
This will do my job.
Last edited by bimaljr; Oct 15th, 2008 at 1:07 am.
![]() |
Other Threads in the Shell Scripting Forum
- Previous Thread: Shell program to find GCD
- Next Thread: Windows command-line ftp client
| Thread Tools | Search this Thread |






