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
Also one can use the --recursive option, as described in the documentation for cp command. It will copy all objects under a specified prefix recursively.
--recursive
cp
Example:
aws s3 cp s3://folder1/folder2/folder3 . --recursive
will grab all files under folder1/folder2/folder3 and copy them to local directory.