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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인