Skip to content

Instantly share code, notes, and snippets.

View FestivalBobcats's full-sized avatar

Ben Hundley FestivalBobcats

  • Mission Cloud
  • Fayetteville, AR
View GitHub Profile
@rabidpraxis
rabidpraxis / s3_mass_bucket_delete.rb
Created April 2, 2013 16:53
Delete s3 bucket with minimal api calls
require 'fog'
bucket = 'bucket-name'
credentials = {
:provider => 'AWS',
:aws_access_key_id => 'access_key_id',
:aws_secret_access_key => 'secret_key',
}
fog = Fog::Storage.new(credentials)