### get file
s3cmd get s3://backup-db/mongo/2022-03-23T10:36:30Z_rs-production.dump.gz .
### list
s3cmd ls s3://backup-db/mongo/
### make all file public
s3cmd setacl s3://bucket/path/to/file --acl-public
### get info from one file
s3cmd info s3://bucket/path/to/file
### make all file private
s3cmd setacl s3://bucket/path/to/file --acl-private
### get life cycle
s3cmd getlifecycle s3://bucket
### set expire day in 7 days
s3cmd expire s3://bucket/ --expiry-days 7
s3cmd command collection
s3cmd command collection
One minute to read
ipang