AWS CLI 2 · S3

List buckets or objects

List buckets, or add a bucket and prefix to list objects.

aws s3 ls s3://my-bucket/path/

Official AWS CLI 2 documentation

More s3 commands

All s3 commands · AWS CLI 2 cheatsheet

Was this page helpful?