- #!/bin/bash
 
- echo " => Converting file in little format for Tx"
 
- cd /ramfs
 
- FILE=$(find ./ -type f -name *.jpg)
 
- convert $FILE -resize 640x496^ lit-$(echo $FILE | cut -d"/" -f2)
 
- rm -rf $FILE
 
- mogrify -format 'jpg' -font Liberation-Sans -fill white -undercolor '#00000080' -pointsize 26 -gravity NorthEast -annotate +10+10 "$(date) - F4IYQ - 73 ;)" *.jpg
 
 
  |