[PR #10448] feat(web): bulk deduplicate #12890

Closed
opened 2026-02-05 15:05:15 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/10448

State: closed
Merged: Yes


Description

Manual deduplication is impractical with a high number of duplicates. This PR adds two new buttons in the top right to either deduplicate all groups (keeping the largest asset from each) or simply keep all duplicates.

Implemented client-side to be consistent with how normal deduplication works. A server-side implementation makes sense as well since it would reduce the amount of data passed around and be part of the API for scripts, etc. I can change it if requested.

How Has This Been Tested?

  • Both buttons take no action until a confirmation
  • Keep All resolves all duplicates without trashing anything
  • Keep All displays a notification
  • Deduplicate All results in assets being trashed with no duplicate groups remaining afterwards
  • Deduplicate All displays a notification
  • The trashed assets are the smaller versions as expected
  • Running Duplicate Detection after Deduplicate All does not result in any duplicates being detected
**Original Pull Request:** https://github.com/immich-app/immich/pull/10448 **State:** closed **Merged:** Yes --- ## Description Manual deduplication is impractical with a high number of duplicates. This PR adds two new buttons in the top right to either deduplicate all groups (keeping the largest asset from each) or simply keep all duplicates. Implemented client-side to be consistent with how normal deduplication works. A server-side implementation makes sense as well since it would reduce the amount of data passed around and be part of the API for scripts, etc. I can change it if requested. ## How Has This Been Tested? - Both buttons take no action until a confirmation - Keep All resolves all duplicates without trashing anything - Keep All displays a notification - Deduplicate All results in assets being trashed with no duplicate groups remaining afterwards - Deduplicate All displays a notification - The trashed assets are the smaller versions as expected - Running Duplicate Detection after Deduplicate All does not result in any duplicates being detected
OVERLORD added the pull-request label 2026-02-05 15:05:15 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#12890