{"id":23054012,"url":"https://github.com/emcecs/bucket-wipe","last_synced_at":"2025-08-15T05:31:23.548Z","repository":{"id":46509795,"uuid":"167089424","full_name":"EMCECS/bucket-wipe","owner":"EMCECS","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-25T14:19:11.000Z","size":340,"stargazers_count":5,"open_issues_count":4,"forks_count":2,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-30T16:16:26.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EMCECS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-23T00:32:08.000Z","updated_at":"2023-12-14T18:52:15.000Z","dependencies_parsed_at":"2024-12-16T00:32:36.724Z","dependency_job_id":"37ddde00-1eda-4c83-b10a-59e170237f5d","html_url":"https://github.com/EMCECS/bucket-wipe","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/EMCECS/bucket-wipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fbucket-wipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fbucket-wipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fbucket-wipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fbucket-wipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EMCECS","download_url":"https://codeload.github.com/EMCECS/bucket-wipe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fbucket-wipe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270527678,"owners_count":24600913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T00:32:28.169Z","updated_at":"2025-08-15T05:31:23.239Z","avatar_url":"https://github.com/EMCECS.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bucket Wipe \nThe purpose of the bucket-wipe tool is to enumerate a bucket and delete its contents in parallel threads.  At the end the bucket is optionally deleted.  This tool is required because you cannot (for safety reasons) delete a non-empty bucket.\n\nCurrent Version: 2.1.0\n\n# Disclaimer about deleting data\nWARNING: THIS TOOL PERMANENTLY DELETES ALL DATA IN A BUCKET, INCLUDING ALL VERSIONS!! Even if you have versioning enabled, the tool will destroy all data in the bucket and (by default) the bucket itself.  If this is not what you want, use a different tool.\n\n# Usage\nBucket Wipe is a Java application and can be run using the `java -jar` command followed by the location of the JAR file.  Running without any other arguments will produce command-line help.\n\n``` \nusage: java -jar bucket-wipe.jar [options] \u003cbucket-name\u003e\n -a,--access-key \u003caccess-key\u003e   the S3 access key\n    --delete-mpus               incomplete MPUs will prevent the bucket\n\n\n                                from being deleted. use this option to\n                                clean up all incomplete MPUs\n -e,--endpoint \u003cURI\u003e            the endpoint to connect to, including\n                                protocol, host, and port\n -h,--help                      displays this help text\n -hier,--hierarchical           Enumerate the bucket hierarchically.  This\n                                is recommended for ECS's\n                                filesystem-enabled buckets.\n    --keep-bucket               do not delete the bucket when done\n -l,--key-list \u003cfile\u003e           instead of listing bucket, delete objects\n                                matched in source file key list\n    --no-smart-client           disables the ECS smart-client. use this\n                                option with an external load balancer\n -p,--prefix \u003cprefix\u003e           deletes only objects under the specified\n                                prefix\n -s,--secret-key \u003csecret-key\u003e   the secret key\n    --stacktrace                displays full stack trace of errors\n -t,--threads \u003cthreads\u003e         number of threads to use\n    --vhost                     enables DNS buckets and turns off load\n                                balancer\n```\n\nNote that if you are using an endpoint that is a load balancer, you will want to use --no-smart-client to turn off the built-in software load balancer.\n  \nFor more information, please see the [wiki](https://github.com/EMCECS/bucket-wipe/wiki)\n\n# How to Build\nYou should only need to build this tool for development purposes.\n\n1. Clone bucket-wipe tool from githib \n```\n$ git clone https://github.com/EMCECS/bucket-wipe.git\n```\n2. cd to the bucket-wipe directory\n```\n$ cd bucket-wipe\n```\n3. Build jar file\n```\n$ ./gradlew shadowJar\n```\n4. The build will be located in `\u003cpath_to_bucket_wipe\u003e/bucket_wipe/build/libs/bucket-wipe-1.10.jar`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femcecs%2Fbucket-wipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femcecs%2Fbucket-wipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femcecs%2Fbucket-wipe/lists"}