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

preguntada hace 5 años263 visualizaciones
1 Respuesta
1

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

respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas