Possible Duplicate:
Batch converting PNG to JPG in linux
I have about 50 PNGs that are about 10Mb each (fully compressed). I want to convert them to JPGs with maximum quality, so that they fall just under Facebook's 5Mb limit. I can manually convert each one in the GIMP, but this seems like a bit of a pain. Is there an easy way to convert them all at once?
Edit: mogrify -format jpg *.png seems to be pretty much what I'm looking for. However, it compresses to around 1.5mb. When I select maximum quality in GIMP, it saves them at around 4mb. Is there a way to control the compression rate with mogrify?