Open RyanTippsTX opened 2 years ago
Hello @RyanTippsTX thanks for the feature request! This is something we are exploring and are very eager to implement in near future.
We are just finalizing a few requirements before we get there, for example, we'll need a queue-worker implementation for this to be working reliably.
The good news is that we are already building another feature that requires queue workers, so this will be the next one!
Excellent to hear @fenos, this is a pretty basic requirement and I was surprised to see it's not implemented. Passing every file in a folder to remove
in a single array call feels error prone, especially in folders with large numbers of assets.
Do you have any rough ETA for this, and is there a beta waitlist I can go on?
+1 for this. Any eta?
I need this also
This solution by @halindraprakoso helped me to delete a folder. First, delete all the files and the folder will get deleted https://github.com/orgs/supabase/discussions/4218#discussioncomment-1733111
+1 any eta?
Still need this...
This feature would be much appreciated
Please include this feature the workaround for this adds unnecessary complexity to a simple task.
Watching this and hoping it gets implemented soon
Waiting for this to be implemented...
Really needed to do this today haha, hoping to see it soon :)
Also +1
+1
It would be incredible if this feature could be supported. My current setup involves a folder structure organized by an ID, with subfolders within that main folder related to the ID. Being able to simply remove the parent folder and automatically delete all associated subfolders would be a game changer. As it stands, I have to navigate through several loops to achieve this, which is far from ideal.
Everyone please stop commenting the equivalent of +1, that’s what votes are for and it clogs up the inbox of everyone subscribed to this issue
@madeleineostoja how do I vote? Lol, did you thumbs down everyone for saying "+1"?
Feature request - delete folders
Is your feature request related to a problem? Please describe.
With supabase storage, folders are deleted automatically when their contents are deleted, but there's no way to delete a whole folder at once, and there's no (clean) way to delete empty folders.
Describe the solution you'd like
I would like for this to work:
Describe alternatives you've considered
For 'empty folders' that were created in the supabase web app, they can apparently be deleted like this:
^ but this is clunky, and you have to know that that placeholder file is there.
And for deleting a folder that has multiple contents, it can be done much more verbosely using .list() and .remove() , but this is a pain, especially if there are nested folders.