Skip to content

Instantly share code, notes, and snippets.

@jcchurch
Created February 5, 2013 07:02
Show Gist options
  • Save jcchurch/4712762 to your computer and use it in GitHub Desktop.
Save jcchurch/4712762 to your computer and use it in GitHub Desktop.
#!/bin/sh
for i in $(ls -1 $1)
do
thumb=$(echo $i | sed 's/\./_t./')
convert $i -resize 120000@ $thumb
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment