AWS Notes 
S3 crap

#list s3 buckets
[acool@acool2 www]$ aws s3 ls

#list files in bucket
[acool@acool2 www]$ aws s3 ls s3://logs-fastly/www/
...
[aesteban@localhost ~]$ aws s3 ls s3://my-db-backup/all_dbs-2019-10-08/ --human-readable --summarize
...


#downloading a list of files from bucket
[acool@acool2 www]$ for i in x.log y.log z.log; do aws s3 cp "s3://logs-fastly/www/$i" .; done


Comments
Comments are not available for this entry.
2025 By Angel Cool