Unison keeps two replicas of files and directories in sync across hosts, merging non-conflicting changes and surfacing conflicts clearly.
Overview
Unison is a file-synchronization tool for POSIX systems and Windows that has been maintained for decades. It stores replicas on different hosts or disks, lets each side change independently, and propagates updates so both copies converge.
Unlike simple mirroring, Unison detects simultaneous edits and reports conflicts instead of silently overwriting. Unlike many network filesystems, it copies data locally so synchronized trees stay readable while offline, and it runs as a user-level program using normal system calls without kernel modules or superuser rights.
Transfers typically run over SSH or direct TCP, optimize bandwidth for small changes to large files with a compression protocol similar to rsync, and tolerate interruptions by leaving replicas consistent. Optional repeat mode with a filesystem monitor can sync soon after local changes occur.
The project distributes source code and relies on distributions or CI artifacts for binaries. Community discussion moved to mailing lists and GitHub issues rather than the legacy FAQ site.
Key features
- Bi-directional replica synchronization
- Conflict detection and display
- Offline access to synced copies
- SSH and TCP transport modes
- Rsync-like delta compression
- Repeat mode with file monitoring
- POSIX and Windows support
- GPLv3 licensed source release
Use cases
- Syncing laptop and server project trees
- Keeping home directories aligned across PCs
- Merging edits from two offline copies
- Low-bandwidth sync over slow links
- Personal backup without cloud services