Skip to content

Instantly share code, notes, and snippets.

@Pyppe
Created July 7, 2013 14:14
Show Gist options
  • Save Pyppe/5943594 to your computer and use it in GitHub Desktop.
Save Pyppe/5943594 to your computer and use it in GitHub Desktop.
#!/bin/bash
# http://even.li/imagemagick-sharp-web-sized-photographs/
ls *.jpg|while read i;do gm convert $i -resize "900x" -unsharp 2x0.5+0.5+0 -quality 98 `basename $i .jpg`_s.jpg;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment