How to copy files from one S3 bucket to another using wildcard

aws s3 cp s3://bucketname1/prefix1/prefix2/ s3://bucketname2/prefix/ --recursive --exclude "" --include "searchterm*"

See also  How to get current date, day, month, year in Redshift database