How to find and review duplicate files on a Mac
Start with a specific folder and compare file contents, not just names. Keep at least one verified copy and any copy needed by an app or workflow. Similar photos are not necessarily exact duplicates. Finder can help organize candidates, but it does not provide a general-purpose exact-duplicate scan of your whole Mac.
Choose a manageable scope
Start with a download or export folder you understand. Avoid scanning every mounted backup and cloud directory at once: copies in a backup can be intentional, and deleting synchronized copies can affect other devices.
Names and sizes are clues
Files called report.pdf and report copy.pdf may have different contents. Two files with the same size may also differ. Conversely, identical content may have different names. Preview the file and establish which copy belongs to the workflow you want to keep.
Read-only checks for two known files
shasum -a 256 "/path/to/first-file" "/path/to/second-file"
cmp "/path/to/first-file" "/path/to/second-file"Replace these illustrative paths with files you own. Matching hashes are a strong candidate check; a byte comparison verifies the contents of that pair at that time. Metadata, permissions and the location can still matter to an app.
Libraries and photo variants
Use Photos’ own duplicate management for its library when available. Do not remove internal library files using a generic filename search. RAW/JPEG pairs, edited images and exported originals can serve different purposes even when they look similar.
Review the keeper
- Open the copy you plan to retain.
- Check its location and backup.
- Confirm no app depends on another path.
- Move only an unwanted copy using a reversible method where possible.
- Review the result before emptying the Trash.
How much space will duplicates release?
APFS clones and shared blocks can make identical logical files occupy less additional physical storage than their sizes suggest. Do not sum candidate bytes as guaranteed recovered space.
CleanMacster’s role
Use duplicate matching to gather candidates, then inspect the groups and keeper selection. Scans are free. You remain responsible for preserving useful copies; a duplicate label is not proof that every extra path is unnecessary.
Sources and verification
Sources checked . CleanMacster publishes this page; see our editorial policy. Instructions can differ by system and app version.
Review your Mac before cleaning
Scanning is free. Cleaning requires a license. For macOS 14 or later.