Resize images in Ubuntu

Looking around for an easy way to resize my images ready for uploading to facebook. Sure, you can use gimp batch processes, but that looks like an awful lot of work.

You could install Davids batch processor for Gimp.

OR, you could do it the truly easy way with a single command:

mogrify -resize 600 *.JPG

Now that is handy, simply copy a few of the images that you want to upload to a dir, cd to that directory and run mogrify. Cool name for command too I think, even though it doesn't really mean anything to me.

One other thing, the above is resizing to 600 wide, mogrify will automatically maintain the aspect ratio of the image.