Skip to content

supabase storage cp -r: Skip existing files #5149

@markosnarinian

Description

@markosnarinian

Is your feature request related to a problem? Please describe.
I need to upload some tens of thousands of files (now on my laptop) to a Supabase storage bucket. I chose to use the CLI for this as uploading through the browser proved unreliable.
TLDR: I was frustrated when the transfer (using Supabase CLI) was interrupted and there was no straightforward way to skip copying existing files to the bucket.

Describe the solution you'd like
Introduce a -n flag for the cp command that skips recreating existing files.

Additional context
I'm curious about how Supabase CLI uploads files to buckets, about how it works under the hood and whether or not something like this can be easily implemented.

Update
See comment below.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions