Thursday, March 5, 2020

AWS S3

List Your Buckets

Use the s3 ls command to list your buckets. Here are some examples of common usage.

The following command lists all buckets.
$ aws s3 ls 2018-12-11 17:08:50 my-bucket 2018-12-14 14:55:44 my-bucket2

The following command lists all objects and folders
aws s3 ls s3://prod-backup/


===================================================
Upload:
===================================================

aws s3 cp db_info.html s3://prod-backup/DB/


===================================================
Download:
===================================================


aws s3 cp s3://prod-backup/dba/oracle/tool/AHF-LINUX_v19.3.2.zip .

No comments:

Post a Comment

Followers