We have a bucket with more than 500,000 objects in it.
I'm assigned a job where I've to delete files which have a specific prefix. There are around 300,000 files with the given prefix in the bucket.
For eg If there are 3 files
abc_1file.txt
abc_2file.txt
abc_1newfile.txt
I've to delete the files with abc_1 prefix only. I didn't find much in AWS documentation related to this.
Any suggestions on how can I automate this?