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 |
--bypass-governance-retention | Bypass Object Lock governance mode restrictions |
Global flags
| Flag | Description |
|---|---|
--config-dir string | main directory for uplink configuration |
--help, -h | help for the command |
--summary | prints a summary of what commands are available |
--advanced | if used in with -h, print advanced flags help |
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.
Delete bucket and all the objects it contains with override of Governance object lock/object versioning
Please note, objects with a Compliance object lock cannot be deleted by anyone, including Storj until the retention period will expire. Changing a Compliance object lock settings for the bucket doesn't affect existing objects. Compliance locked objects can be removed before expiration only with the entire account, you need to file a support request.

