Allow wildcard in delete_blobs with a full path #993
Labels
api: storage
Issues related to the googleapis/python-storage API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
Today i have to list all the files in my bucket and then only delete the ones with the name that matches a specific condition.
This is really painful when you have millions of results, you can't delete directly without fetching using wildcards.
Describe the solution you'd like
I would like a method equivalent to this one in
gsutil
:gsutil rm -r gs://bucket/folder/{WILDCARD-A}/folderA/{WILDCARD-B}/folderB
Describe alternatives you've considered
gsutil
is working fine to do this but is slow and i need it in python for my AWS lambda.Additional context
None
The text was updated successfully, but these errors were encountered: