Rich's IT Blog

Sharing the joy of DevOps and Coffee

S3 Cleanup Script

Getting an early jump on spring cleaning in the new year? As you may well know you cannot simply delete a non-empty S3 bucket. I’ve created a handy little python script to help. Simply save the below script as and execute with <bucketname> <list || delete> import boto3 […]