#!/bin/bash

for img in `ls *.jpg`
do
  convert $img -resize 1200x800 -gravity center $img
done
