Skip to content

Instantly share code, notes, and snippets.

@greg-minshall
Created May 23, 2014 06:51
Show Gist options
  • Save greg-minshall/9878c0a358ee831f2111 to your computer and use it in GitHub Desktop.
Save greg-minshall/9878c0a358ee831f2111 to your computer and use it in GitHub Desktop.
extracts small region from each of a large number of images
for i in `ls ~/NOTBACKEDUP/sensorproblem/ | sed s/.tif//g`; do convert -extract 137x158+1000+3800 ~/NOTBACKEDUP/sensorproblem/$i.tif clips/$i.png; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment