Skip to content

Instantly share code, notes, and snippets.

@bouchard
bouchard / delete_all_archives.rb
Last active August 1, 2016 15:12
Delete all archives in an Amazon Glacier Vault
#!/usr/bin/env ruby
require 'aws-sdk'
require 'json'
glacier = AWS::Glacier.new(
:access_key_id => "ID_GOES_HERE",
:secret_access_key => "SECRET_GOES_HERE"
)