Duplicate Finder icon

Duplicate Finder

Inspired by DJs’ growing music collections, Duplicate Finder helps review matching songs and other files. Built for Intel Mac; release testing is still underway.

Duplicate Finder has been built as an Intel Mac application, but it is not commercially released or available for download. Its story starts with music collections and a familiar problem: keeping track of the copies that accumulate over time.

Why I Built It

I originally created Duplicate Finder with DJs in mind. DJs can build up large music collections through downloads, music folders, backups, and years of collecting tracks. Along the way, duplicate songs can end up scattered across those collections.

The idea was to help DJs identify duplicate songs, organize their collections, and avoid wasting storage space. Although DJs inspired the application, the same file-matching approach can help with documents, photos, and other files too.

The Problem

A collection can contain several copies of a file under different names or in different folders. On the other hand, two files with the same name are not necessarily identical. Sorting through them by hand takes time, and removing the wrong copy can create a much bigger problem than a cluttered folder.

For music, there is an important distinction: Duplicate Finder compares files, not how a recording sounds. It does not recognize two differently encoded recordings as the same song. An MP3 and a WAV of the same track, for example, are different files and should not be expected to match. Different tags or other changes inside a music file can also prevent a match.

How It Works

You choose a folder to scan, then review matching files in groups. You mark the copy you want to KEEP and select the extras for cleanup. The application cannot know which copy is your original or which folder matters most to you; that choice stays with you.

There are three scan options. Quick Scan checks parts of equal-size files for a faster first look, so it can show possible matches that are not truly identical. Exact Scan checks the full contents. Deep Scan adds a direct comparison of those contents. Whatever mode you use, selected files are compared fully against their keeper again before cleanup.

Duplicate Finder also compares whole folders. That requires checking the folders’ contents and structure, not just their names or the amount of space they occupy. Unreadable or unsupported folder contents stop the comparison rather than being quietly treated as a match.

On Mac, selected extra copies are moved to Trash after confirmation. The application does not empty Trash or permanently delete files as a fallback. The storage estimate helps you judge the size of a cleanup, but moving items to Trash may not free disk space immediately.

The Technical Challenges

Accurate matching was only part of the work. A quick comparison can miss differences in the middle of a file. Whole-folder comparisons need to account for nested files, empty folders, and information that Mac applications rely on.

Cleanup raises another set of questions. What if someone selects every copy? What if the keeper has changed since the scan? What if another application edits or moves a file while the results are being reviewed?

Recovery needs equal care. A cleanup can stop after moving only some files. Undo must explain what happened, avoid overwriting anything new at the original location, and cope when an item in Trash has changed or disappeared.

How We Addressed Those Challenges

Recheck before cleanup. The application needs a current scan before it can move files. Saved results can be reviewed, but cannot authorize cleanup. Selected files and their keepers are checked again, including their full contents. Folder cleanup repeats the whole-folder checks. Changed or unsupported items are refused.

Protect the keeper. The selection controls exclude the copy marked KEEP, and a separate safety check refuses cleanup if it includes that keeper or fails to leave an equivalent copy in the same group. Folder cleanup also refuses overlapping paths that would remove a keeper inside another selected folder.

Report partial results honestly. Cleanup checks the batch before starting, then checks each item again before moving it. If a move fails, it stops and reports confirmed moves separately from uncertain outcomes. An error does not mean that nothing moved; the original locations and Trash may both need checking.

Make Undo cautious. Confirmed moves with a recorded Trash location can be offered for Undo Delete while the application remains open. Restoration refuses to overwrite an occupied destination or restore an item that has changed in Trash. If only part of an Undo succeeds, the remaining entries stay available for another attempt. Another cleanup does not silently replace an unfinished recovery record.

The development records include tests for changed files and keepers, misleading quick-scan matches, keeper protection, partial failures, and restoration conflicts. A limited controlled Mac test also moved and restored a test file and folder through the native Trash operation. That is useful evidence, but it does not establish safety across every Mac, drive, or failure situation.

Undo remains limited to the running session. Quitting or crashing loses the application’s Undo record; recovery may then depend on Finder Trash or a separate backup. These checks also cannot eliminate the brief chance of another application changing a file just before it is moved. Keep a separate backup, avoid cleanup while files are being edited, and check retained copies before emptying Trash.

Where It Stands Today

The Intel Mac application has been built. Commercial release testing is still incomplete, so it is not ready for sale and remains outside the finished-software catalog.

The current test build still needs signing and Apple’s security approval process, clean installation and first-launch checks, and a verified list of supported Mac models and macOS versions. External-drive behavior, interrupted cleanup, and the complete recovery experience also need broader testing.

The work described here concerns the current development version. It should not be taken as confirmation that an older installer includes the same safeguards.

What's Next

The next steps are additional Mac testing and a clearer installation and recovery experience. That includes checking permissions, large collections, external drives, partial cleanups, and Undo under realistic conditions.

Preparation for Windows and Apple Silicon support is also ahead. A Windows release and an Apple Silicon-native build are not available, and the Intel build’s behavior on Apple Silicon has not been verified. There is no release date to announce.

The aim is to make duplicate-file review useful and understandable while being honest about the decisions that remain yours and the testing still to be completed.

Got experience with this too?

Ran into the same problem, found a better fix, or have something useful to add?

Workbench

Opens your email app, addressed to orgtooltank@gmail.com. Nothing is posted publicly. No email app? Write it on the contact page.