#!/bin/bash for f in $( ls ImagesNonFiligrannees/*.JPG ) do echo $f composite -watermark 10% -tile wmLarge2.png $f Images/$( basename $f ) done