List All Buckets on the Server

Prev Next
s3cmd [-c CONFIGFILE] ls s3://

CONFIGFILE

Configuration file. Defaults to $HOME/.s3cfg

Example

List all buckets on the server, specifying the root path of all buckets (s3://) and specifying our configuration file as the non default vast.s3cfg.

$ s3cmd -c vast.s3cfg ls s3://
2019-06-24 09:55  s3://bucket1