Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for blocking file removal operations if ALL files from a set would be removed #46

Open
atc0005 opened this issue Feb 16, 2020 · 0 comments
Assignees
Labels
config enhancement New feature or request
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Feb 16, 2020

This application groups detected duplicate files into "sets". Each set contains all files that are duplicates of each other, including what could be considered the "original" file that is duplicated by others in the set.

The current implementation for file removal support (see #4) will honor a user-supplied "flag" in in the input CSV file to indicate that the file should be removed, even if the result is removing ALL files in a set. This issue is to extend the file removal support to accept a CLI-flag option to help prevent removal of all files in a set. Instead, when the application can determine that all files are marked for removal that set would be skipped (if config.IgnoreErrors is set perhaps?) or cause the application to immediately fail.

refs #4

@atc0005 atc0005 added enhancement New feature or request config labels Feb 16, 2020
@atc0005 atc0005 added this to the Future milestone Feb 16, 2020
@atc0005 atc0005 self-assigned this Feb 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant