v2.0.4 Live APFS Zero-Space Clone · Target-Newer Protection · 100% Sandboxed

The Safe, Instant Folder Merge Utility for Mac.

Consolidate divergent backups, external hard drives, and photo archives without fear of accidental overwrites. Instant zero-space cloning with one-click undo.

★ 4.9 (48 App Ratings) macOS 13.0+ (Ventura, Sonoma, Sequoia) Universal (Apple Silicon M1-M4 & Intel) 100% Offline & Private 2.4 MB Featherweight
DirMerge Native macOS Single-Window Workbench
0 Byte
Extra Storage Consumed
Native Darwin APFS Copy-on-Write (CoW) extents
0.08 s
Instant Cold Start
Pure Swift 6 & SwiftUI with zero web runtime lag
1.3 MB
Boutique Footprint
No Electron, no WebKit, no background daemons
100%
Offline & Sandboxed
Zero network permissions, absolute disk privacy

Built specifically for photographers, creators, and data hoarders.

Designed from the ground up for macOS Sequoia and Sonoma, with zero web runtime bloat.

⚡️

APFS Zero-Space Cloning

Utilizes Darwin copyfile CoW technology. Merge gigabytes of data on the same APFS volume in milliseconds without consuming double disk space.

🛡️

Never Overwrite Blindly

Source directory is strictly read-only. Before overwriting any existing file in the destination, a snapshot backup is automatically archived for instant ⌘Z rollback.

🎯

Target-Newer Conflict Guard

Smart timestamp inspection detects newer files in the destination directory and skips them by default, safeguarding your latest edits against stale overwrites.

🔌

External Drive Protective Scanning

DirMerge never spins up your external USB mechanical hard drives until you explicitly click Start. Zero unexpected throttling or drive thrashing.

🔒

100% Offline & Private

Pure macOS App Sandbox compliant. DirMerge requests zero network entitlements. Your filenames, paths, and data strictly never leave your Mac.

🔍

Display Scaling & Dock Drag

Comfortable font size tiers (100%, 115%, 130%) with ⌘+ / ⌘- shortcuts for Studio Display & 4K/5K. Drag folders straight onto the Dock icon to launch.

⇄

Instant Direction Swapping

Need to sync changes both ways? Press ⌘[ to instantly swap Source and Target directories without re-navigating file pickers.

📦

Lightweight Boutique Tool

Only 2.4 MB Universal binary. Starts in 0.08 seconds and consumes less than 25 MB of RAM. No Electron, no WebKit, pure Swift 6 & SwiftUI.

NEW What's New in Version 2.1.0
Released October 27, 2026 · Build 6
  • 🛡️
    Smart Ignore Rules EngineBuilt-in toggles for .DS_Store, .git, node_modules, and custom wildcard patterns (*.tmp, build/) to keep merges clean.
  • 🔍
    CLI Helper & URL SchemeInstant terminal invocation via 'dirmerge <dirA> <dirB>' and deep system link support ('dirmerge://').
  • 📂
    Homebrew Cask DistributionOne-command automated deployment and updates via 'brew install --cask zhenqiang-sun/tap/dirmerge'.
  • 🎟️
    Target-Newer Overwrite ProtectionAutomatic smart timestamp inspection detects and skips newer destination files by default to prevent regressions.

How APFS Zero-Space Cloning Works

Conventional copy utilities waste gigabytes of disk space and write cycles. DirMerge changes the game.

Instant cloning without byte duplication

When copying files within Apple File System (APFS) volumes, traditional tools read source blocks and write duplicate blocks to the destination, doubling physical storage and wearing out SSD cells.

DirMerge invokes Darwin's native copyfile(..., COPYFILE_CLONE). The operating system creates a new namespace entry pointing to the original disk extents.

  • ✓ 100 GB folder merged in < 0.1 seconds
  • ✓ Consumes 0 additional bytes of physical disk storage
  • ✓ Zero SSD write wear until a file copy is subsequently altered
// Darwin Native Kernel Invocation
import Darwin

// Fast Copy-on-Write Clone Flags
let flags = UInt32(COPYFILE_DATA | COPYFILE_CLONE | COPYFILE_EXCL)

// Instant merge with zero physical disk duplication
let status = copyfile(
  sourceURL.path,
  targetURL.path,
  nil,
  flags
)

// Result: 0 extra bytes allocated on APFS volume
assert(status == 0, "Instant clone successful")

Why choose DirMerge over alternatives?

See how DirMerge compares against macOS Finder, terminal scripts, and legacy tools.

Feature / MetricDirMerge 2.0macOS FinderTerminal (rsync)Beyond CompareFreeFileSync
Native macOS Interface✓ SwiftUI Native✓ SystemCLI OnlyQt PortwxWidgets
APFS Zero-Space Cloning✓ Automatic (CoW)Manual Duplicate✕ (Full Writes)✕ (Full Writes)✕ (Full Writes)
Read-Only Source Lock✓ 100% Enforced✕ (Accidental Move)Script DependentConfigurableConfigurable
One-Click Undo (⌘Z)✓ Snapshot RollbackUnreliable Across Folders✕ IrreversibleManual BackupRecycle Bin
Target-Newer Protection✓ Auto-Detect & Skip✕ Blind OverwriteRequires --update flagConfigurableConfigurable
Drive Protective Scanning✓ On-Demand OnlyAuto-Indexes DriveImmediate AccessImmediate AccessImmediate Access
App Sandbox Privacy✓ 100% OfflineSystem NativeUnsandboxedNetwork EnabledNetwork Enabled
Binary Size & RAM1.3 MB (<25 MB RAM)System Default~500 KB~80 MB~50 MB
Pricing ModelFree (25 files) / $9.99 LifetimeFree (Included)Free (Open Source)$35 – $70Donation / Ads

3 Simple Steps to Perfect Synchronization

No complex rules, no cryptic regex, no code diff distractions.

1

Drop Folders

Select or drag your reference folder (e.g. external SSD backup) and your destination folder. Press ⌘[ to swap directions anytime.

2

Review Differences

Click Start to view real-time breakdown of new, conflict, and identical files with instant live search and filtering.

3

One-Click Safe Merge

Merge everything in seconds. If you ever change your mind, press ⌘Z to restore overwritten items instantly.

Frequently Asked Questions

Clear answers to common questions about safety, cloning, and storage compatibility.

Does DirMerge overwrite or delete files in my source folder?

Never. The Source directory is mounted and accessed strictly in read-only mode. DirMerge will never delete, move, or modify any file inside your reference folder.

How does APFS Zero-Space Cloning save disk space?

On Apple APFS drives, DirMerge creates Copy-on-Write references rather than copying raw bits. A 50 GB photo shoot or video archive clones in milliseconds while consuming 0 bytes of extra disk space.

What happens if a conflict occurs with an existing file?

Before replacing any conflicting file in your Target directory, DirMerge creates a safe rollback snapshot. If you made an error, click Undo (or press ⌘Z) to restore every replaced item.

Does DirMerge support external drives formatted with exFAT or FAT32?

Yes. While zero-space cloning requires APFS, DirMerge seamlessly supports exFAT, FAT32, and HFS+ volumes with high-speed buffered streaming and complete snapshot protection.

Is DirMerge completely offline?

Yes. DirMerge operates inside the official Apple App Sandbox without network entitlements. It contains no analytics, no telemetry, and zero network calls. Your files never leave your computer.

What is included in the Free version vs Pro?

The free version allows you to merge up to 25 items per batch with full APFS cloning. The Pro Lifetime purchase ($9.99 USD) unlocks unlimited batch merging across all your Mac computers permanently.

How does Target-Newer Protection prevent data loss?

DirMerge inspects file modification dates before merging. If a file in the destination folder is newer than the source, DirMerge badges it with a warning and automatically excludes it from the batch by default, preventing accidental overwrites of your latest edits.

How do I redeem an official Offer Code (e.g. DIRMERGEVIP2026)?

Open DirMerge, click Unlock Pro, and click Redeem Offer Code in the paywall window to redeem your code directly through the official Apple App Store system.