Création d'un décompte de 3 minutes :
(
for((m=0;m<=2;m++)); do
for((s=0;s<=59;s++)); do
printf "%02d:%02d\n" $m $s
done
done
echo "03:00"
) |
while read t; do
convert -size 420x125 xc: -font Bookman-Demi -pointsize 132 -draw "text 15,110 '$t'" \
-fill darkblue -draw "text 10,105 '$t'" $t.png
done
convert -delay 100 -loop 0 "03:00.png" `ls -r 02*.png` compteur180.gif
xdg-open compteur180.gif