Skip to main content

Safe duplicate finder & reviewer for macOS — exact + perceptual image matching, review-first deletion to Trash

Project description

findupe

PyPI version Python versions License: MIT Platform: macOS

See your duplicate photos side by side, pick what goes, and nothing disappears without your OK.

findupe finds exact duplicates (any file type, zero false positives) and same-photo-different-format duplicates (HEIC / JPEG / RAW, re-encodes, resized exports) on your Mac, then lets you review everything visually in an HTML report before anything moves — to the real macOS Trash, never deleted outright.

Built for photographers: keeping X.CR3 + X.jpg side by side is intentional and is never flagged. Only surplus copies within a format (X copy.jpg, X_2.jpg, a re-imported CR3) become deletion candidates.

findupe's HTML report showing exact, strong-visual, and cross-format duplicate groups with thumbnails

Quickstart

pipx install findupe
findupe --demo     # scans a small bundled sample and opens the report — no setup needed

--demo gives you a real report to click through immediately. When you're ready to point it at your own photos, the flow is the same one shown below:

Terminal recording of scan, review, export, apply --dry-run, apply, and undo

  1. findupe scan ~/Pictures/inbox "/Volumes/Extreme SSD/photos" — writes an HTML report.
  2. Open the report, check the boxes you agree with (sensible ones are pre-checked), click Export selection.
  3. findupe apply <selection>.json --dry-run to preview, then without --dry-run to move the checked files to the Trash (typed confirmation required).
  4. findupe undo any time — restores from the Trash by content, not by guessing names.

Nothing is deleted outright: checked files go to the real Trash (recoverable, "Put Back" works), and the last copy of anything always survives — enforced independently of what the report UI shows you.

Install

Requires macOS.

pipx install findupe
# or
uv tool install findupe

Then findupe --help. Running on a non-macOS platform refuses immediately with a clear error — the Trash integration (Finder/AppleScript) and clone-detection notes are macOS/APFS-specific.

Workflow

scan writes two reports — one for images (exact + perceptual matching), one for everything else (PDFs, text, archives, ... — exact-hash matches only, since perceptual matching never applies to non-images). Review and apply each independently.

1. findupe scan ~/Pictures/inbox "/Volumes/Extreme SSD/photos"
2. open report-images.html   # photo/image duplicates — thumbnails, adjust checkboxes
   open report-other.html    # everything else — plain checkbox + path + size rows
3.                           # click "Export selection" on each ->
                              #   findupe-selection-<id>-images.json
                              #   findupe-selection-<id>-other.json
4. findupe apply findupe-selection-<id>-images.json --dry-run   # preview
   findupe apply findupe-selection-<id>-other.json  --dry-run   # preview
5. findupe apply findupe-selection-<id>-images.json            # typed confirmation
   findupe apply findupe-selection-<id>-other.json             # typed confirmation
6. findupe undo                                             # list restore points
   findupe undo <manifest>                                  # put everything back

How it works

findupe flags two kinds of duplicates: files that are byte-for-byte identical, and photos that look like the same shot even across formats or exports (HEIC, JPEG, RAW). It's tuned to leave burst shots and RAW+JPEG pairs alone — those are usually intentional, not duplicates — and everything is re-checked right before anything actually moves, not just at scan time.

Matching tiers, calibration numbers, and the full safety model live in docs/architecture.md.

Documentation

  • Reading your report — sections, badges, and flags explained
  • Architecture — matching tiers and the full safety model
  • FAQ — common questions
  • How-to — recipes: multi-root scans, excluding paths, history, stats, undo
  • CONTRIBUTING.md — dev setup, commit conventions, release pipeline

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

findupe-0.5.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

findupe-0.5.0-py3-none-any.whl (114.3 kB view details)

Uploaded Python 3

File details

Details for the file findupe-0.5.0.tar.gz.

File metadata

  • Download URL: findupe-0.5.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for findupe-0.5.0.tar.gz
Algorithm Hash digest
SHA256 106b06c49a78488c22679b93d4a539fc786f697de26388060f18c32548934d6e
MD5 8e8e3189922a40811db59550d7f678b2
BLAKE2b-256 0d91e8f2855de16b5f37f695e9df1b28434423b809a35c7123bfb23885405bb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for findupe-0.5.0.tar.gz:

Publisher: release.yml on jyshnkr/findupe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file findupe-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: findupe-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 114.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for findupe-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2a739f3b2df3d230ff8d928b67642e69b21af9a07dca51c20dc7fa5fa333d7c
MD5 cab334670e85f917735a9585069f8467
BLAKE2b-256 24b445be157050d5286d9d21ed44576c99449a94ad75b8f883371a5020261c90

See more details on using hashes here.

Provenance

The following attestation bundles were made for findupe-0.5.0-py3-none-any.whl:

Publisher: release.yml on jyshnkr/findupe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page