Created
July 22, 2015 02:41
-
-
Save lcomino/f4fefd36d870f156405b to your computer and use it in GitHub Desktop.
Script para adicionar marca d'água em massa como Imagemagic usando convert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fotos=$1 | |
marcadagua=$2 | |
destino=$3 | |
cd $fotos | |
for i in *; do | |
echo $i | |
if [ -e "$i" ]; then | |
convert $i $marcadagua -gravity SouthEast -geometry +30+30 -normalize -composite $destino/$i | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
usage ./marcadagua.sh fullpath/photos fullpath/watermark fullpath/target