#!/bin/bash
for file in *.JPG;
do echo $file;
convert -geometry 800x600 $file ${file%};
done

