Skip to content

Instantly share code, notes, and snippets.

@richleland
Created January 26, 2013 19:35
Show Gist options
  • Save richleland/4644059 to your computer and use it in GitHub Desktop.
Save richleland/4644059 to your computer and use it in GitHub Desktop.
import boto
conn = boto.connect_s3()
bucket = conn.get_bucket('some-bucket')
bucket.delete_keys(bucket.get_all_keys())
conn.delete_bucket('some-bucket')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment