#!/bin/sh find . -type d -exec sh -c 'cd "{}" && mkthumb' ';' .