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 .…