aws-s3-ls
List AWS S3 buckets, folders (prefixes), and files (objects). tldr-pages
On several platforms
Several platforms
List all buckets
aws s3 lsIdentifyList files and folders in the root of a bucket (s3:// is optional)
aws s3 ls s3://bucket_nameIdentifyList files and folders directly inside a directory
aws s3 ls bucket_name/path/to/directory/IdentifyList all files in a bucket
aws s3 ls --recursive bucket_nameIdentify--recursiveCommand is performed on all files or objects under the specified directory or prefix. AWS CLI referenceList all files in a path with a given prefix
aws s3 ls --recursive bucket_name/path/to/directory/prefixIdentify--recursiveCommand is performed on all files or objects under the specified directory or prefix. AWS CLI reference