I've been interacting with Amazon S3 through S3Fox and I can't seem to delete my buckets. I select a bucket, hit delete, confirm the delete in a popup, and... nothing happens. Is there another tool that I should use?
相关问题
- How to upload images from the browser to Amazon S3
- How to start pm2 website using jenkins on AWS ubun
- DevPay and Mfa are mutually exclusive authorizatio
- Scala & DataBricks: Getting a list of Files
- Load Image from Stream/StreamReader to Image OR Ra
相关文章
- how many objects are returned by aws s3api list-ob
- AWS S3 in rails - how to set the s3_signature_vers
- PUT to S3 with presigned url gives 403 error
- php - unlink throws error: Resource temporarily un
- AWS CLI s3 copy fails with 403 error, trying to ad
- Amazon Athena - Column cannot be resolved on basic
- Pre-signed URLs and x-amz-acl
- How do I read a csv stored in S3 with csv.DictRead
It is finally possible to delete all the files in one go using the new Lifecycle (expiration) rules feature. You can even do it from the AWS console.
Simply right click on the bucket name in AWS console, select "Properties" and then in the row of tabs at the bottom of the page select "lifecycle" and "add rule". Create a lifecycle rule with the "Prefix" field set blank (blank means all files in the bucket, or you could set it to "a" to delete all files whose names begin with "a"). Set the "Days" field to "1". That's it. Done. Assuming the files are more than one day old they should all get deleted, then you can delete the bucket.
I only just tried this for the first time so I'm still waiting to see how quickly the files get deleted (it wasn't instant but presumably should happen within 24 hours) and whether I get billed for one delete command or 50 million delete commands... fingers crossed!
recent versions of s3cmd have --recursive
e.g.,
http://s3tools.org/kb/item5.htm
Try https://s3explorer.appspot.com/ to manage your S3 account.
With s3cmd: Create a new empty directory s3cmd sync --delete-removed empty_directory s3://yourbucket
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/dev/DeletingMultipleObjects.html
I'll have to have a look at some of these alternative file managers. I've used (and like) BucketExplorer, which you can get from - surprisingly - http://www.bucketexplorer.com/.
It's a 30 day free trial, then (currently) costing US$49.99 per licence (US$49.95 on the purchase cover page).