Mac App to Compare Two Folders and List the Differences
Compare two folders on a Mac and list what's missing or different with an rsync dry run, diff or a folder-compare app, plus why Get Info sizes differ.
GuideUpdated 5 min read
On this page
You moved the contents of a drive, probably an old or failing one, and Get Info now shows sizes that differ by a few GB. You want a list of exactly what didn't make it across, not a guess based on totals. A size gap alone doesn't tell you that, so compare the folders directly.
Why the sizes don't match
A gap of 1 to 6 GB does not by itself mean files are missing. Common causes, roughly most to least likely:
- "Size" vs "Size on disk." Get Info shows both. The second depends on how each volume allocates space, so identical files can report different totals on two volumes.
- Hidden system folders. External volumes can hold items such as
.Spotlight-V100and.fseventsd, which Finder doesn't show..Trashesholds things you deleted from that drive but never emptied from the Trash, and that alone can account for gigabytes. - Different formats. On an exFAT drive, macOS can store file metadata in separate
._files, so counts and sizes can differ from an APFS copy. - Files that did not copy. This is the real problem, and only a comparison finds it. Copies from a failing drive can skip unreadable files.
| Cause | Symptom | How to check |
|---|---|---|
| Size on disk differs | Totals differ, file lists match | rsync -anv shows nothing |
| Hidden folders, Trash | Old drive looks bigger | List shows only dot-folders |
exFAT ._ files | File counts differ | List shows ._ names |
| Failed copy | Named files missing | List shows real files |
Fix 1: rsync dry run (best first check)
rsync is already on your Mac, it writes nothing with -n, and without -c it compares names, sizes and dates rather than reading every file. That makes it gentle on a drive that may be failing.
- Open Terminal.
- Run the command with the old folder first and the new one second:
rsync -anv /Volumes/Old/ /Volumes/New/-a is archive mode (recurse and keep metadata), -n is a dry run, and -v lists each file.
- Read the result. Each line is a file rsync would copy from Old to New, meaning it is missing in New or differs. If only summary lines appear ("sent … bytes", "total size is …"), nothing is missing or different.
Details that trip people up:
- Trailing slashes.
/Volumes/Old/means "the contents of Old". Without the final slash, rsync treats theOldfolder itself as the item, so every file shows up as missing underOld/. - Spaces in names. Quote the paths:
rsync -anv "/Volumes/My Old Drive/" "/Volumes/New Drive/". Runls /Volumesto see the exact volume names. - Direction. It only reports what is in Old but not in New. To find files that exist only in New, swap the paths and run it again.
To save the list to a file (this overwrites an existing file of the same name):
rsync -anv /Volumes/Old/ /Volumes/New/ > ~/Desktop/differences.txtTo ignore Finder's .DS_Store files, add --exclude='.DS_Store'.
Compare contents, not just size and date
By default rsync calls a file different based on size and modification time. If the copy reset dates, identical files can show up as different. Add -c to compare checksums instead:
rsync -anvc /Volumes/Old/ /Volumes/New/-c reads every file on both sides, so it is slow on large drives and a bad idea on a failing one.
Fix 2: diff for a two-way list
diff compares contents and reports files that exist on only one side, in both directions, in one run:
diff -rq /Volumes/Old /Volumes/New-r recurses and -q prints only whether files differ. Output looks like Only in /Volumes/Old/Photos: IMG_0412.jpg or Files … and … differ. It reads every file, so it is slow on big folders.
Fix 3: a folder-comparison app
If you want to browse results in a window, or you'll compare folders regularly, use a dedicated app. The ones people most often recommend for this are FreeFileSync, Beyond Compare, VisualDiffer and DeltaWalker. People in Mac communities report FreeFileSync and Beyond Compare most often. We haven't tested any of them for this page, so we don't quote prices or feature lists; check each developer's site for current details.
| Method | Good for | Trade-off |
|---|---|---|
rsync -anv | Quick, read-only list of what's missing or different | Text output; one direction per run |
diff -rq | Content comparison, both directions | Reads every file; slow |
| Comparison app | Browsing and filtering results | Install and learn; check licensing |
Pick Terminal if you only need to know whether anything didn't copy. Pick an app if you want to see differences side by side.
For a rough sanity check, count files on each side:
find /Volumes/Old -type f | wc -l
find /Volumes/New -type f | wc -lCounts can differ for the hidden-file reasons above, so treat them as a hint and rely on the rsync or diff list.
Checklist before you trust the result
- Old path first, New path second, both with a trailing slash.
-nis in the command.- You ran it in both directions if you care about extra files in New.
.DS_Store,.Trashesand._entries are understood, not mistaken for lost data.- Important files (archives, disk images) are checked by checksum.
Verify a single important file
For one file that matters, compare its checksum on both sides:
shasum -a 256 "/Volumes/Old/file.dmg" "/Volumes/New/file.dmg"If the two hashes match, the contents match. Our guide to checking a SHA-256 checksum on Mac covers this in more detail, and comparing two text files on Mac covers the text case.
If nothing works
Problems you may hit:
- "Operation not permitted." Open System Settings, go to Privacy & Security > Full Disk Access, turn on Terminal, quit and reopen it, then rerun.
- "No such file or directory." The path is wrong. Run
ls /Volumes. - Every file is listed. Dates probably changed in the copy. Rerun with
-c(not on a failing drive). - Read errors or a hang. The drive is likely failing. Stop rerunning, and contact a data-recovery service or the drive maker's support rather than stressing it further.
If you ask for help in a forum or from support, include the exact command, the first lines of the output, the drive's format and the macOS version:
I copied a drive to a new one and Get Info sizes differ by about 3 GB.
Command: rsync -anv /Volumes/Old/ /Volumes/New/
Result: 214 files listed as missing (sample below).
Old drive format: exFAT. New drive: APFS. macOS version: <your version>.
The old drive sometimes hangs on read. What should I try next?Common questions
Does rsync -anv change anything?
No. -n makes it a dry run, so it only prints what it would do. Removing -n makes it copy files.
Why are ._ files in the list?
exFAT and some other formats store macOS metadata in separate ._ files. They are normally harmless and can be ignored.
Can I compare two folders in Finder?
Finder has no folder-compare feature. Get Info totals are the only built-in view, and as shown above they can mislead.
Do I need an app if rsync works?
No. An app only adds a window with side-by-side results, which helps for regular or large comparisons.