Skip to content

Instantly share code, notes, and snippets.

@dsimard
Created October 15, 2009 12:41
Show Gist options
  • Save dsimard/210926 to your computer and use it in GitHub Desktop.
Save dsimard/210926 to your computer and use it in GitHub Desktop.
ls -1 *.jpg | awk -F. '{printf "convert %s.jpg -resize 320x240 %s-sm.jpg\n",$1,$1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment