eszesNekem egy ilyen scriptem van:
#!/bin/bash
WATERMARK='/home/saboteur777/Képek/.vízjelek/szik/vízjel5.png'
echo " "
echo "*****************************************"
echo "* Image Resize and Watermarking Script *"
echo "* By Gilbert Mendoza - SavvyAdmin.com! *"
echo "* Modded by Saboteur777*"
echo "*****************************************"
echo " "
for each in ~/Asztal/atmeretez/*{.jpg,.jpeg,.JPG,.JPEG,.png}
do
composite -gravity southeast $WATERMARK $each $each 2> /dev/null
done
notify-send --expire-time=1500 "Images are composited and resized successfully."
exit 0
Centeren kívül lehet még: southeast, southwest, northeast, northwest, stb...