Quick and dirty Bash script to iterate an S3 bucket and remove all object versions and delete markers.
Probably only usable on buckets with a few hundred version objects maximum, otherwise it might be more efficient and time effective to use a lifecycle rule to age out and remove objects in bulk.