FeatureFuel
2

Storage: remove without file extension

Source: supabase/supabase#2766 · opened by @dommarr
Hi,

One suggestion - it would be helpful if we could delete/remove a file from storage with only the path and filename, no file extension. Knowing the path and filename should be enough to identify which asset should be deleted.

For example, I have images in different formats (.png, .jpg, etc.). I have to separately list the images in the bucket to identify the file extension and then perform the delete. Also, is there a way to limit the list by the filename? Currently I have to list all assets (hundreds) and then filter the array to find the specific asset and its mimetype.

This feels like an unnecessary two step process. My two cents.

Thanks!

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests