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

posta 5 anni fa263 visualizzazioni
1 Risposta
1

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

con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande