unison
TLDR
Sync directories
$ unison [dir1] [dir2]
Sync with SSH$ unison [local/path] ssh://[user@host]/[path]
Batch mode$ unison -batch [dir1] [dir2]
Use profile$ unison [profilename]
Show differences$ unison -diff [dir1] [dir2]
SYNOPSIS
unison [-batch] [profile] root1 root2
DESCRIPTION
unison synchronizes files. It's bidirectional sync.
Two-way sync. Changes both directions.
Conflict detection. Manual resolution.
SSH support. Remote sync.
Profiles. Save configurations.
PARAMETERS
-batch
Non-interactive.-auto
Accept defaults.-diff
Show differences.-force ROOT
Force from root.-ignore PATTERN
Ignore pattern.-path PATH
Sync specific path.
CAVEATS
Same version both ends. Conflicts need attention. Initial sync slow.
HISTORY
Unison was developed at the University of Pennsylvania as a file synchronization tool supporting bidirectional sync.


