List Number Of Objects Stored In S3 Bucket
Published: May 28 2024

Here’s a command to list the number of objects in an S3 bucket using the AWS CLI.

aws s3 ls s3://<bucket-name>/ --recursive | wc -l