Skip to main content

Folder Sync

Compare file contents for incremental or two-way folder sync with verified backups before overwriting. On macOS, also supports mirror mode moving extra files to Trash (max 2 GiB/file).

Free & Open Source Files folder sync directory sync backup incremental
Version 1.0.10 Updated 2026-11-25
Download ZTools to Install Install ZTools, then search for "Folder Sync" in the Plugin Marketplace

Screenshots

Folder Sync - Preview 1

Key Features

Compare source and target folders and run incremental or two-way sync

folder sync / directory sync / sync folders / incremental backup

Compare two folders to list added, modified, and missing files

compare folders / folder diff / directory compare

Overview & Usage Guide

Compare regular file contents between two folders and copy differences to the other side; before overwriting or moving files to Trash (macOS mirror mode only), save and verify backups of the original files.

Usage

  • Commands: folder sync, directory sync, incremental backup, compare folders.
  • Workflow: Click "Select Folders" at the top to pick the source and target folders in turn (they cannot be identical or nested inside one another), choose a sync mode on the left, and click "Re-compare". The right pane lists files to add, overwrite, move to Trash (mirror mode), and conflicts.
  • Sync Modes:
    • One-way Incremental: Copies new and changed files from source to target.
    • Two-way Merge: Copies files unique to each side to the other; when a file exists on both sides with different contents, direction is chosen by modification time (if timestamps differ by 2 seconds or less, it is marked as a conflict).
    • Mirror (macOS only): Also moves files unique to the target folder to Trash (not shown on Windows).
  • Shortcuts: Space checks/unchecks a file, Enter executes checked items, and ⌘/Ctrl+Enter reveals the file in the file manager. Files to be moved to Trash must be checked manually. Conflicting files cannot be executed and must be resolved manually before re-comparing.
  • Default Ignores: .git, node_modules, .DS_Store, and Thumbs.db are ignored by default and can be toggled off on the left.
  • Safety Checks: Both sides are re-scanned before execution. Any file changes since comparison, symlinks, read errors, or backup failures stop the run and report both completed and remaining counts; completed writes are not automatically rolled back, and original files can be restored from backups.
  • Backups: Backups are saved under .ztools-sync-backups/<run-id>/ in the root of the modified folder: backup/ holds copies of original files from comparison time, original/ holds original files moved out during execution, and incoming/ holds content not yet written. After execution, you can open the backup folder from the action panel and follow the recovery instructions file (恢复说明.txt) to copy files back to the same relative paths. Backups are not cleaned up automatically, and .ztools-sync-backups at the root is excluded from sync.
  • Limits: Syncs regular files only and does not replicate empty folders. Maximum single file size is 2 GiB, and each side scans at most 5,000 items and 48 directory levels.

Platforms & Requirements

  • Supported: Windows, macOS (Mirror mode is macOS only)
  • Requires client version 1.1.8.5 or later.
  • Requires the client's safe file access component; if missing, an unavailable-component notice is shown.

Network & Data

  • Offline only; all data stays on your device.

Frequently Asked Questions (FAQ)

How do I install and launch "Folder Sync" in ZTools?

Open the Plugin Marketplace inside ZTools Workbench, search for "Folder Sync", and install it. Then type its name in the launcher bar to open it.

Is "Folder Sync" free? Which platforms are supported?

Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: Windows / macOS.