rb
rb is the command to remove an empty bucket, or empty a bucket and then remove it.
Usage
Flags
Flag | Description |
---|---|
--access string | the serialized access, or name of the access to use |
--force | if true, empties the bucket of objects first |
--help , -h | help for rb |
Examples
Delete empty bucket
Output:
Delete bucket and all the objects it contains
Output:
Deleting large buckets is a time-consuming process. It would roughly take 1 hour per 10,000 objects. We are working on adding progress reporting.
If you need to delete very large buckets and the waiting time is unacceptable, please file a support request.