s3cmd [-c CONFIGFILE] info s3://BUCKET
CONFIGFILE | Configuration file. Defaults to $HOME/.s3cfg |
BUCKET | Name of bucket |
Example
Retrieve all metadata of the bucket bucket1. The output includes the bucket's ACL.
$ s3cmd -c vast.s3cfg info s3://bucket1 s3://bucket1/ (bucket): Location: vast-1 Payer: none Expiration Rule: none Policy: none CORS: none ACL: vastuser: FULL_CONTROL