I am looking for a way to get the list of files with a specific pattern from aws. But it seems that it can not support it.
In detail:
I have a bucket in AWS that has several hundred thousand files in it and I am want to find that has a specific pattern. For example, I want to find all files that are "my*.txt" on the bucket and list them.
If I run this command:
aws s3 ls s3://my_bucket/ --recursive > byBucketList.txt
Then I can search for my files in the text file and found where are they. But I am not able to run anything such as this:
aws s3 ls s3://my_bucket/my*.txt --recursive > byBucketList.txt
to only get the list of files that I am looking for.
Is there any way that I get the list of files with a specific pattern on an AWS bucket?