Last active
December 7, 2019 13:23
-
-
Save apermuy/b0f6a4986085d3100764cc5606bc57dc to your computer and use it in GitHub Desktop.
Script imagemagick para redimensionar imágenes
This file contains 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
#!/bin/bash | |
for f in *.JPG; do | |
NOME=`echo $f |cut -d. -f1` | |
echo "Convertindo imaxe orixinal -> $f" | |
convert $f -resize 33% $NOME-redimensionada-33.JPG | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment