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


[ view entry ] ( 962 views )   |  print article

<<First <Back | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Next> Last>>



2024 By Angel Cool