LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to make JHEAD work on all subfolders within a folder (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-make-jhead-work-on-all-subfolders-within-a-folder-259646/)

SupaDucta 11-26-2004 06:02 PM

How to make JHEAD work on all subfolders within a folder
 
I have these two commands:

jhead -cmd "mogrify -quality 80 &i" *.jpg
jhead -cmd "jpegtran -progressive &i &o" *.jpg


And I would need to modify them to:

- work on all subfolders within a folder
- work on both *.jpg and *.JPG extensions
- and if possibly put them in a bash shell script so I can run them with cron (OK, at least I know how to setup a cron :rolleyes: )


Can any of the expert guys help a shell newbie?

Thanks

;)


All times are GMT -5. The time now is 10:29 PM.