https://github.com/j-vizcaino/s3-trash
Tool to empty S3 buckets
https://github.com/j-vizcaino/s3-trash
aws aws-s3 delete go
Last synced: 3 months ago
JSON representation
Tool to empty S3 buckets
- Host: GitHub
- URL: https://github.com/j-vizcaino/s3-trash
- Owner: j-vizcaino
- Created: 2020-02-06T16:24:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-11T21:40:20.000Z (over 6 years ago)
- Last Synced: 2024-06-07T20:15:53.892Z (about 2 years ago)
- Topics: aws, aws-s3, delete, go
- Language: Go
- Size: 6.79 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# s3-trash
**DANGER**: **this removes all the objects from an S3 bucket. There's no way to recover deleted objects from S3 once this completes**.
**USE AT YOUR OWN RISK**
This is a small tool that lists all the objects versions in an S3 bucket and deletes them.
Listing and deleting happens in parallel, thanks to Go concurrency model.
Deletes happen in bulk operations of at most 1,000 deletes per call.
Multiple connections can be opened to S3 to maximize speed.