gothumb is an utility for replicating a directory hierarchy, generating a thumbnail for each JPEG file on it.
Usage: ./gothumb SRCDIR DSTDIR
gothumb uses the amazing VIPS image processing library, and the Go bindings made by DAddYE (https://github.com/DAddYE/vips).