Skip to content

Introduce --no-clobber/-n flag to cp command to avoid skip existing#5150

Open
markosnarinian wants to merge 3 commits intosupabase:developfrom
markosnarinian:develop
Open

Introduce --no-clobber/-n flag to cp command to avoid skip existing#5150
markosnarinian wants to merge 3 commits intosupabase:developfrom
markosnarinian:develop

Conversation

@markosnarinian
Copy link
Copy Markdown

@markosnarinian markosnarinian commented Apr 29, 2026

What kind of change does this PR introduce?

It introduces an new feature. Specifically the --no-clobber/-n flag for the storage cp command.

What is the current behavior?

There is no way to skip files that already exist at the destination. This is really frustrating when you're copying tens of thousands of files to get a bad gateway error halfway through the transfer and have to start over.

Closes issue #5149.

What is the new behavior?

When --no-clobber/-n is passed to the storage cp command files that already exist at the destination path are skipped.

@markosnarinian markosnarinian requested a review from a team as a code owner April 29, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant