#!/bin/bash

#use imagemagick to put the name of each photo at the bottom of the image

for i in *.jpg;
do echo "$i";convert "$i" -auto-orient -gravity south \
  -stroke '#000C' -strokewidth 20 -pointsize 250 -annotate 0 "${i%%.jpg}" \
  -stroke  none   -fill white    -pointsize 250 -annotate 0 "${i%%.jpg}" \
  "${i%%.jpg}.png"
done