This command line application gets all the images in a folder structure and uses smush.it or punypng online services to optimise the images, rewriting them in the process.