#!/bin/bash
for img in *.jpg
do
convert "$img" -resize 100x -quality 90 "$img"
done

for img in *.JPG
do
convert "$img" -resize 100x -quality 90 "$img"
done
