Skip to content

Instantly share code, notes, and snippets.

@greg-minshall
greg-minshall / gist:9878c0a358ee831f2111
Created May 23, 2014 06:51
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