I'm running this command to create thumbnails with mogrify and it works great!
#! /bin/bash
mogrify \
-resize 300x300 \
-crop 200x200+0-20 \
-gravity center \
-format jpg \
-quality 100 \
-path thumbs \
*.jpg
But what I would like to add is a suffix to the output filenames like. -avatar So the output image name is changed from testimage.jpg to testimage-avatar.jpg.
Thanks all!