aws s3 ls [paths]

List S3 objects and common prefixes under a prefix or all S3 buckets. Note that the --output and --no-paginate arguments are ignored for this command

Arguments

NameDescription
paths

Options

NameDescription
--recursiveCommand is performed on all files or objects under the specified directory or prefix
--page-size <integer>The number of results to return in each response to a list operation. The default value is 1000 (the maximum allowed). Using a lower value may help if an operation times out
--human-readableDisplays file sizes in human readable format
--summarizeDisplays summary information (number of objects, total size)
--request-payer <string>Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. Documentation on downloading objects from requester pays buckets can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html