cloudfiles-nukem is a Rackspace CloudFiles variation of s3nukem which is a slightly improved version of s3nuke, a Ruby script by Steve Eley that relatively quickly deletes an Amazon Web Services (AWS) Simple Storage Service (S3) bucket with many objects (millions) by using multiple threads to retrieve and delete the individual objects.
-
Ruby >= 1.87 Ruby 1.9 should work faster because of the native thread implementation (on the other hand, network/S3 latency may be your biggest bottleneck).
-
ruby-cloudfiles gem
sudo gem install cloudfiles
# download
git clone [email protected]:hathaway/cloudfiles-nukem.git
# make executable
chmod 755 cloudfiles-nukem
This script is intended to delete all of the items in a CloudFiles container very quickly. You will not be prompted to ask you if you're sure. There is no undo.
This script is released under the Apache License, Version 2.0. I really don't care what you do with it, so long as "sue me" is not on the agenda.
Original s3nuke script by Steve Eley.
Improvements by Robert LaThanh.
CloudFiles version by Ben Hathaway.