AWS s3 last 6 month images download

0

i have many images stored in AWS s3.

i just want to download the last 6 month images only anyhow. using shell script or aws cli.

aws s3api list-objects --bucket "mybucket" --prefix "some/prefix" --query "Contents[?LastModified>=2018-08-22].{Key: Key}"
i can list all the object 6 month using this command now how i can i download.

Thanks in advance..!

asked 5 years ago251 views
1 Answer
1

Actually i wated to sync data between google bucket to s3 so i used the gcloud sync command and issue resolve.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions