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 c
Tried all the above. Not much joy. Finally, adapted @rajan's reply into a one-liner:
for file in whatever*.txt; do { aws s3 cp $file s3://somewhere/in/my/bucket/; } done