Skip to content

Conversation

@Samasaur1
Copy link

When fichub_cli would download a file but there's a filename conflict, it currently either errors (by default) or overwrites the existing file (with the --force option). This PR adds a new --disambiguation-suffix option, which lets the user choose a string to append to the file name to result in a unique filename. Ideally it would be mutually exclusive with --force, but that isn't possible yet1.

Footnotes

  1. Instead, we prefer --force when it is set, falling back to --disambiguation-suffix if it is set, otherwise falling back to erroring.

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