Batch resize images using command line with imagemagick mogrify

cd public_html/images/thumbs magick mogrify -resize 16x12 -quality 100 -path ../new-thumbs *.jpg