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

dedup --strategy #17

Open
BoPeng opened this issue Jan 27, 2025 · 0 comments
Open

dedup --strategy #17

BoPeng opened this issue Jan 27, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@BoPeng
Copy link
Owner

BoPeng commented Jan 27, 2025

Is your feature request related to a problem? Please describe.
Right now, the dedup command has a built in strategy, namely keeping the file with the longest path. The logic is that the longer path represent some "annotations", namely additional suffix to filename (e.g. xxxxxxxx-xxxxxx-Henry.jpg for photos from Henry's phone, or /path/to/2020-04-Vacation/xxxxxxxx-xxxxxxxx.jpg for keeping photos in a specific album. However, some other strategies could be supported.

Describe the solution you'd like
An option --strategy for, for example, keeping files in specific folders. For example, a way to remove all the _1 and _2 files when the same files are stored to the directory multiple times could be helpful.

@BoPeng BoPeng added the enhancement New feature or request label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant