amazon web services - How can I use wildcards to `cp` a group of files with the AWS CLI -


i'm having trouble using * in aws cli select subset of files bucket.

adding * path not seem work

aws s3 cp s3://data/2016-08* .

to download multiple files aws bucket current directory, can use recursive, exclude, , include flags this:

aws s3 cp s3://data/ . --recursive --exclude "*" --include "2016-08*"` 

for more info on how use these filters: http://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters


Comments