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

Create longest and shortest path criteria #1242

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

Bostwickenator
Copy link
Contributor

This adds a feature to prioritize by longest or shortest path. I find this useful for deduplicating large volumes of photo backups where some files are in deep folders direct from an SD card eg card2/DCIM/100MEDIA/ and files inspected and used from this may be in a shorter path like card2/keepers.

Also helps with situations where previous backups have been duplicated inside in later backups. Path length can quickly prefer one set or the other without manually specifying all the folders.

It's included under Filename criterion because it seemed easier to integrate there.

@tflo
Copy link

tflo commented Jul 17, 2024

feature to prioritize by longest or shortest path

This is a very good idea. I recently had a use case for just that!

@Bostwickenator
Copy link
Contributor Author

Anything I need to do on this PR?

@arsenetar arsenetar merged commit 8f197ea into arsenetar:master Aug 23, 2024
14 checks passed
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.

4 participants