Menu

Cleaning duplicate photos inside Lightroom Classic and Capture One catalogs without breaking them
📰

Cleaning duplicate photos inside Lightroom Classic and Capture One catalogs without breaking them

DEV Community: swift·John Sheehy·about 1 month ago
#OmIBjUcI
#devtoswift#devto#dev#catalog#lightroom
Long article (1037 words) — no AI summary yet.
Reading 0:00
15s threshold

Disclosure: I'm the developer of Folio Refresh , the Mac app this post is about.

Most duplicate photo finders work on folders. Point them at a drive, they hash files, they move copies to the Trash. That is fine until the photos live in a Lightroom Classic or Capture One catalog. Delete a file behind Lightroom's back and the catalog shows a missing-photo badge; delete the wrong copy and you lose the edits, ratings and collections attached to it.

When I built Folio Refresh I wanted it to clean duplicates inside those catalogs, so here is how it does that without corrupting them.

Both catalogs are SQLite

A Lightroom Classic catalog ( .lrcat ) is a SQLite database. A Capture One catalog ( .cocatalog ) is a package with a SQLite database ( .cocatalogdb ) inside. Neither schema is documented, and both change between versions. That shapes every rule below.

Rule 1: read-only, always, while scanning

Scanning only ever opens the catalog read-only.

Lightroom: SQLITE_OPEN_READONLY .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.