Is it possible to copy folders using wildcards? For example I have a folder that under that has folders names in some date format for example 2022-02-22 and I want to copy only some of the folders, for example 2022-02-*.
Is that possible? Thanks
CodePudding user response:
You can use Exclude and Include Filters (explained here) to achive what you want.
In your case , you can do aws s3 cp s3://Myfolder/ /MyLocalFolder --recursive --exclude "*" --include "2022-02*"