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 purge messages from an SQS queue from AWS Management Console