Is there an easy way of deleting an Amazon S3 bucket that has many tens of thousands of objects within it? I've tried s3cmd with --recursive and --force, but it memory-bloats and has been running for days with little effect.
|
feedback
|
|
Amazon recently added a new feature, "Multi-Object Delete", which allows up to 1,000 objects to be deleted at a time with a single API request. This should allow simplification of the process of deleting huge numbers of files from a bucket. The documentation for the new feature is available here: http://docs.amazonwebservices.com/AmazonS3/latest/API/index.html?multiobjectdeleteapi.html For now you'd have to manually use the API for the request, but I would expect that tools like s3cmd will eventually be updated to directly support the feature. | |||||
feedback
|
|
I use this Java Applet to do this. You can easily select all of your files and delete them. | |||
|
feedback
|