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 list Materialized views, enable auto refresh, check if stale in Redshift database