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
Can any of the expert guys help a shell newbie?