apt-get install imagemagick
#!/bin/bash for i in `ls *.jpg` do echo $i composite -resize 800 -watermark 10.0 watermark.png $i watermaked-$i done