LS - List
List S3 objects and common prefixes under a prefix, or all S3 buckets.
LS [ <S3Uri> ]
[ , RECURSIVE ]
[ , PROFILE <profile-name> ]
[ , REGION <s3-region> ]
[ , DEBUG ]
[ , CA-BUNDLE <local-path> ]
[ , NO-VERIFY-SSL ]
<S3Uri>
An optional S3Uri. If omitted, all user owned buckets will be listed.
RECURSIVE
Command is performed on all files or objects under the specified directory
or prefix.
PROFILE <profile-name>
Use a specific profile from your credential file.
REGION <s3-region>
The region to use. Overrides config/env settings.
DEBUG
Enable debug logging.
CA-BUNDLE <local-path>
The CA certificate bundle to use when verifying SSL certificates. Over-rides config/env settings.
NO-VERIFY-SSL
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
Examples
tacl> run s3com ls
2023-01-18 23:13:00 bucket-1
2023-02-25 20:43:00 bucket-2
tacl> run s3com s3://bucket-1/
2023-12-06 22:13:00 15 myfile.txt
tacl> run s3com ls , CA-BUNDLE $VOLUME.SUBVOL.FILENAME
tacl> run s3com ls , NO-VERIFY-SSL