Skip to content

Instantly share code, notes, and snippets.

@davidecavaliere
Created April 8, 2014 11:05
Show Gist options
  • Save davidecavaliere/10110147 to your computer and use it in GitHub Desktop.
Save davidecavaliere/10110147 to your computer and use it in GitHub Desktop.
bash script - resize images
for i in *.jpg; do convert $i -resize 50% $(basename $i .jpg).jpg; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment