If you are regularly creating images on a schedule, you may wish to clear out the older ones. This script will remove images matching a name pattern, as long as they don't have clone databases dependent on them (in which case warn in the output).