KlystorDownload

How to find and delete duplicate files without losing the right one

Repeated downloads, photos imported twice, folders copied “just in case”: duplicates pile up quietly. You still need to be sure two files really are identical.

5 min readUpdated

01What a true duplicate is

Two files are duplicates if they have exactly the same content. The same name is not enough (two “report.pdf” files can differ), and different names prove nothing (“photo.jpg” and “photo (1).jpg”). The reliable method is to compare a checksum computed from the content: if it matches, the content does.

On Mac and Linux, then on Windows (PowerShell):

shasum -a 256 file1 file2
Get-FileHash .\file1, .\file2

02Photos

Never remove files from the Photos library by hand. On a Mac (macOS Ventura and later), the Photos app shows a Duplicates album under Utilities, which merges the copies and keeps the best one. On iPhone, the same album exists in the Photos app. On Windows and Android, use the app that manages your photos or Klystor for Android.

03Other files

On Linux, fdupes (package of the same name) compares content and lists groups of duplicates without deleting anything:

fdupes -r ~/Documents ~/Downloads

On Mac and Windows, no built-in tool looks for duplicate documents. In Klystor, the Duplicates screen (Klystor Pro) compares each file’s content with a BLAKE3 checksum, groups identical copies and lets you choose the one to keep; the others go through the Trash.

04Choosing the copy to keep

  • keep the copy filed in the right place (Documents, the project folder) rather than the one in Downloads;
  • be careful with synced folders (iCloud Drive, OneDrive, Dropbox): a deletion there also reaches your other devices;
  • a duplicate inside a backup or an archive is intentional: leave it;
  • delete through the Trash, and empty it once you are sure.

What not to do

  • deleting duplicates spotted only by their name or size;
  • bulk-deleting inside an app’s or the system’s folders: some identical files are needed in several places there;
  • confusing “near-identical” photos (bursts, edits) with true duplicates: those are sorted by eye.

Klystor

All of this, safely and in minutes

Klystor measures your disk, explains every item and only offers what rebuilds itself or what you choose. A dry run before every deletion, the Trash by default. Free version with no time limit, for macOS, Windows and Linux.

Need help?