Which Duplicate Copy Should You Keep? Smart Selection Rules Explained
keep_highest_resolution, keep_oldest, keep_shortest_path, and keep_best_name: when each rule works and when it fails.
Every duplicate group asks the same question: which copy stays? Picking by gut works for ten groups. It fails for ten thousand.
DupeZappa exposes smart selection rules in Settings (default) and in the Duplicate Scanner (per session). Rules pre-select keepers; you still preview before delete.
Available rules
| Rule | Keeps | Best for |
|---|---|---|
keep_best_name (default) |
Name-quality ordering | Mixed downloads with (1) suffix noise |
keep_oldest |
Earliest modified time | Canonical originals; archive discipline |
keep_shortest_path |
Shortest normalized path | D:\Photos\img.jpg over D:\Photos\backup\old\img.jpg |
keep_highest_resolution |
Largest width×height; then size; then path | Photo libraries; video when ffprobe works |
Resolution ranking reads image headers via DecodeConfig. Video dimensions use ffprobe when available. If dimensions are missing, the rule falls back without blocking the scan.
When each rule fails
keep_highest_resolution
- Edited smaller JPEG may be the better crop; larger pixel count ≠ better composition.
- Upscaled copies beat originals on paper; check previews.
keep_oldest
- Backup restore can make a duplicate look "older" than the live file.
- Re-downloaded copies get fresh mod times.
keep_shortest_path
- Symlinks and subst drives shorten paths artificially.
- "Short" can mean wrong folder (
\temp\vs\Masters\).
keep_best_name
- Subjective; tuned for typical
(1)/copynoise, not every naming convention.
Use a rule to narrow review, not to skip it. Near-duplicate image groups stay review-required regardless of rule.
Try rules in the browser
The Smart Duplicate Keeper Assistant applies keep-newest, keep-oldest, keep-largest, keep-highest-resolution, and keep-shortest-path logic locally in your browser. It explains why a candidate wins, which is useful for learning which rule matches your library before a desktop apply.
Desktop apply workflow
- Set Default duplicate selection rule in Settings.
- Override Selection rule per scan if this folder needs different logic.
- Run scan; open largest groups first.
- Override individual keepers where the rule misfired.
- Delete to Recycle Bin in batches; undo if a pattern was wrong.
Pair with How to Safely Delete Duplicate Photos on Windows and NAS scanning for end-to-end cleanup.
Consistency across sessions
Write down which rule you used for Pictures vs Downloads. Switching rules mid-archive makes keepers look random to anyone else auditing the library.
Smart rules cut review time. Preview-first apply is what prevents regret.