I have a bunch of hi resolution JPEG's that I want to decrease the resolution so that they would be good for web pics.

Most of the pics that I have are above 2 megs. I have about 350-400 pics that I want to change.

Can you write a script so that the gimp does this automatically.