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

for img in *.JPG
do
convert "$img" -resize 900x -quality 95 "$img"
done
