Fortraneries/Fraktalism/tagpicz.sh

28 lines
354 B
Bash
Raw Normal View History

2023-01-03 11:22:40 +11:00
#!/bin/bash
#
# THIS IS JUST A QUICK'N'DIRTY HACK !
# DO NOT USE IT IN REAL LIFE !
#
set -e
SDIR="frames/spool/"
if [ $# -eq 1 ] ; then
SDIR="$1"
fi
for img in $SDIR/*.pnm
do
mogrify \
-gravity South-East \
-font Courier \
-pointsize 12 \
-fill Yellow \
-annotate +10+10 "tTh 2023" \
$img
echo "tagging " $img
done