How-To Guides / S3 How to search for files in S3 bucket folder using wildcard aws s3 ls s3://bucketname/prefix1/prefix2/ | grep searchterm* | awk '{print $4}' Share this:Click to share on WhatsApp (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Click to share on Reddit (Opens in new window) Related See also How to create copy of an EBS volume snapshot