kauai-19990012-001.jpg
for f in kauai-19990012-???.jpg; do x=`basename $f .jpg` y=`echo $x | colrm 1 15` z=`expr $y + 40` w=`printf "%.3d" $z` mv $f kauai-19990012-$w.jpg done
for f in kauai-19990012-???.jpg; do x=`echo $f | sed -e 's/kauai-19990012-0*//;s/.jpg//` y=$(($x + 40)) z=`printf "kauai-19990012-%.3d.jpg" $y` mv $f $z done
Last modified: February 15, 1999