Skip to content

Instantly share code, notes, and snippets.

@dnlcrl
Created April 28, 2016 12:10
Show Gist options
  • Save dnlcrl/e2e25f7989e394580cab33138add2c43 to your computer and use it in GitHub Desktop.
Save dnlcrl/e2e25f7989e394580cab33138add2c43 to your computer and use it in GitHub Desktop.
newr='./r'; for f in `find . -name "*.jpg"`; do newname="${f/./$newr}"; convert $f -resize 32x32\! $newname; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment