Skip to content
All guidesMacWindows

How to find duplicate photos between an external drive and iCloud

The short answer

Add the drive to Glassine as a source next to your iCloud Drive folder. Glassine records a SHA-256 hash of every file, so a photo that is byte for byte the same in both places becomes one version with two place marks, and the drive's page counts what is only on the drive and what is also in your folders. Nothing is deleted until you confirm.

In Glassine, step by step

  1. Choose your iCloud Drive folder, or the folder in it that holds your photos, as the main folder: on the welcome screen, or later in the main folder settings
  2. Connect the drive. It appears under Sources, switched off. Switch it on, or use Choose Folders… to read only some folders
  3. Let Glassine read both. Files in iCloud Drive that are not on the computer are downloaded a small batch at a time, read and released again
  4. Open the drive's page: Only here, Also in Archive and Exact duplicates here. Each number opens those shots
  5. Open a shot. A version card with two place marks, your folder and the drive, is the same file byte for byte in both places
  6. To free the drive, select shots and use Delete Versions… with only the drive checked under places. The confirmation asks once to let Glassine change files on the drive, and the files go to its own Trash or Recycle Bin, with Undo

Mac and Windows

  • MacAlso in Photos shows shots that also have a copy in the Apple Photos library, which is where iCloud Photos lives on a Mac
  • MacClean Up → choose the drive → Already in the Archive lists the drive's shots whose original or an edit is already in your folders. By default only the copies on the chosen drive go
  • MacFor copies inside your folders: Collections → To Sort Out → Exact Copies in Archive groups byte-identical files, suggests which one to keep and moves the rest to the Trash after one confirmation
  • WindowsiCloud Photos from iCloud for Windows is a cloud source of its own. The drive's page then also shows Also in iCloud Photos
  • WindowsStatistics → Exact Copies lists the byte-identical files in your folders

Without Glassine

Apple Photos has a Duplicates album, but it only looks inside its own library, not at drives or folders. Finder and File Explorer do not compare files by their content.

By hand you can compare checksums: shasum -a 256 in Terminal or Get-FileHash in PowerShell, once for the drive and once for iCloud Drive, then match the lists. Dedicated duplicate finders do the same with a window, and many of them also count similar photos as duplicates, so check what they mean before deleting.

Where it gets painful

  • Files that are only in iCloud have to be downloaded before anything can compare them
  • Names and sizes lie: renamed copies and different files with the same name are both common
  • Tools that treat similar photos as duplicates can suggest deleting an edit or a RAW
  • Nothing tells you what exists only on the drive, which is the one thing you must not lose

Questions

What does Glassine count as a duplicate?

Only a byte-identical file, with the same SHA-256 hash. A RAW and its JPEG, an edit, an export or a resized copy are versions of the shot, never duplicates.

Does Also in Archive mean every file of the shot is in my folders?

No. It means the shot has at least one copy there. A shot can have its JPEG in iCloud Drive and its RAW only on the drive, so look at the version cards before deleting.

Does Glassine delete anything on the drive by itself?

No. It only reads drives. Files on a drive change only after you allow it in the confirmation of a delete, move or rename there, and deleted files go to that drive's Trash or Recycle Bin.

Do I need room for all of iCloud on my computer?

No. Cloud files are downloaded a small batch at a time and released after reading, never more than the limit at once, 5 GB by default.

Are photos in Apple Photos compared byte for byte?

No. On a Mac they show up as Also in Photos, but they never count as exact copies.

Related features

Questions about Glassine

Try Glassine

Closed beta for Mac and Windows: the download link comes with your beta key