I am using the aws cli to list the files in an s3 bucket using the following command (documentation):
aws s3 ls s3://mybucket --recursive --human-readable --
Simple Way
aws s3 ls s3://mybucket --recursive --human-readable --summarize|cut -c 29-