I am having trouble downloading multiple files from AWS S3 buckets to my local machine.
I have all the filenames that I want to download and I do not want others. How can I do that ? Is there any kind of loop in aws-cli I can do some iteration ?
There are couple hundreds files I need to download so that it seems not possible to use one single command that takes all filenames as arguments.
aws s3api get-object
if you're able to filter/query the list of your files .. if you have the list in a file, you can read the file by line and pipe withaws s3 cp s3://yourbuyet/-
– Frederic Henri