You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Add supabase storage sync command to CLI
Is your feature request related to a problem? Please describe.
Currently, uploading multiple files and directories to Supabase Storage requires manually using supabase storage cp with --recursive or scripting solutions with the API. This is tedious and not as efficient as other cloud storage providers, which offer native synchronization commands.
For example, S3 has aws s3 sync, and Firebase Storage has firebase deploy. These tools allow users to quickly sync local directories with their cloud storage, improving usability and automation.
Describe the solution you'd like
I propose adding a supabase storage sync command to the Supabase CLI, similar to AWS S3's sync. The expected behavior:
Using a combination of supabase storage rm and supabase storage cp with --recursive , but this is suboptimal and slow.
Additional context
This feature would significantly improve developer experience and streamline file management in Supabase Storage. In our case we want sync important metadata product definitions, stored as plain text files in Storage, using https://github.com/supabase/setup-cli
Would love to see this in the roadmap! 🚀
The text was updated successfully, but these errors were encountered:
Feature Request: Add
supabase storage sync
command to CLIIs your feature request related to a problem? Please describe.
Currently, uploading multiple files and directories to Supabase Storage requires manually using
supabase storage cp
with--recursive
or scripting solutions with the API. This is tedious and not as efficient as other cloud storage providers, which offer native synchronization commands.For example, S3 has
aws s3 sync
, and Firebase Storage hasfirebase deploy
. These tools allow users to quickly sync local directories with their cloud storage, improving usability and automation.Describe the solution you'd like
I propose adding a
supabase storage sync
command to the Supabase CLI, similar to AWS S3'ssync
. The expected behavior:./local-folder
tobucket-name[/remote/folder/path]
--delete
)flag --jobs <N>
)supabase storage cp
)Example with flags:
supabase storage sync ./assets media/assets --delete
Describe alternatives you’ve considered
supabase storage rm
andsupabase storage cp
with--recursive
, but this is suboptimal and slow.Additional context
This feature would significantly improve developer experience and streamline file management in Supabase Storage. In our case we want sync important metadata product definitions, stored as plain text files in Storage, using https://github.com/supabase/setup-cli
Would love to see this in the roadmap! 🚀
The text was updated successfully, but these errors were encountered: