Bulk thumbnails

note, Jun 4, 2023 on Mitja Felicijan's blog

Make bulk thumbnails of JPGs with ImageMagick.

#!/bin/bash
@@ -10,21 +10,18 @@
 for file in "$directory"*.jpg; do
   convert "$file" -resize $dimensions "$file" "${file%.*}-thumbnail.jpg"
 done
-