© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
1 reply
CJC

List all files and subfiles in a bucket

I have some files stored like
BUCKET_NAME/${userId}/${groupId}/${itemId}
BUCKET_NAME/${userId}/${groupId}/${itemId}


Is there a way to list all the items stored for the user without having to loop through each
groupId
groupId
?

It would be ideal if there was single query that i could run to see everything in
BUCKET_NAME/${userId}
BUCKET_NAME/${userId}
which would display each
groupId
groupId
and all of its children
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Any files find in bucket
SupabaseSSupabase / help-and-questions
13mo ago
storgae.from.list returning all files, but without path
SupabaseSSupabase / help-and-questions
4y ago
from.remove() for all files in a directory
SupabaseSSupabase / help-and-questions
4y ago
Cannot delete files from storage bucket
SupabaseSSupabase / help-and-questions
3mo ago