#! /bin/bash

for file in *.JPG; do
  convert -resize 640x480 ${file} ${file}
done
