'Amazon S3 wildcards in copy folders

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



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source