rb

rb is the command to remove an empty bucket, or empty a bucket and then remove it.

Usage

./uplink.exe rb sj://BUCKET [flags]
./uplink.exe rb sj://BUCKET [flags]

Flags

FlagDescription
--access stringthe serialized access, or name of the access to use
--forceif true, empties the bucket of objects first
--bypass-governance-retentionBypass Object Lock governance mode restrictions

Global flags

FlagDescription
--config-dir stringmain directory for uplink configuration
--help, -hhelp for the command
--summaryprints a summary of what commands are available
--advancedif used in with -h, print advanced flags help

Examples

Delete empty bucket

./uplink.exe rb sj://cakes
./uplink.exe rb sj://cakes

Output:

Delete bucket and all the objects it contains

./uplink.exe rb sj://cakes --force
./uplink.exe rb sj://cakes --force

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.

./uplink.exe rb sj://cakes --force --bypass-governance-retention
./uplink.exe rb sj://cakes --force --bypass-governance-retention
Previous
mv
Next
rm