Batch resize images using ImageMagick

If you are resizing large number of Image files in a particular folder (replace original with resized file) use the following command.

find . -iname "*.jpg" | xargs -l -i mogrify -quality 50 {}

Quality is best between 50 and 95% for better results.