#!/bin/bash
for f in *.jpg ; do convert "$f" -strip \
-interlace Plane \
-gaussian-blur 0.05 \
-quality 85%  "out3/${f%.*}.jpg" ; done
