Skip to content

Instantly share code, notes, and snippets.

@aaronpdennis
Created October 20, 2016 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronpdennis/adc97f437b8b4a1eef50f4fb56227355 to your computer and use it in GitHub Desktop.
Save aaronpdennis/adc97f437b8b4a1eef50f4fb56227355 to your computer and use it in GitHub Desktop.
#!/bin/sh
image=0
number_of_images=23
until [ $image -gt $number_of_images ]
do
echo $image
convert $image.png -crop 1008x1003+775+297 $image.cropped.png
a=`expr $a + 1`
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment