Use this script if you've managed to make wide-scale modifications to lots of S3 objects and you need to roll them all back to their earliest versions.
Pray you never need this, but be thankful it's here if you do.
It finds all the versions of objects under a specific prefix and deletes all but the earliest one.