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..!

已提問 5 年前檢視次數 263 次
1 個回答
1

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

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南