Delete a Bucket

Prev Next
s3cmd [-c CONFIGFILE] rb s3://BUCKET

Note

This command can be used with the --recursive flag which removes the bucket with all of its contents. This form of the command calls the DeleteObjects AWS S3 API which is supported from VAST Cluster 3.2.0.

CONFIGFILE

Configuration file. Defaults to $HOME/.s3cfg

BUCKET

Name of bucket

Example

Delete bucket bucket1.

$ s3cmd -c vast.s3cfg rb s3://bucket1