Skip to content

Instantly share code, notes, and snippets.

@fitoria
Created May 30, 2009 00:23
Show Gist options
  • Save fitoria/120295 to your computer and use it in GitHub Desktop.
Save fitoria/120295 to your computer and use it in GitHub Desktop.
#!/bin/sh
for img in `ls *.jpg`
do
echo $img
mogrify -resize 1900x -compress jpeg -quality 70 $img # donde dice -resize 1900x le podes cambiar el tamaño si queres
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment