unison

Bidirectional file synchronisation tool. More information: <https://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html>.

Install

All systems
curl cmd.cat/unison.sh
Debian Debian
apt-get install unison
Ubuntu
apt-get install unison
Alpine
apk add unison
Arch Arch Linux
pacman -S unison
image/svg+xml Kali Linux
apt-get install unison
Fedora
dnf install unison240-text
Windows (WSL2)
sudo apt-get update sudo apt-get install unison
OS X
brew install unison
Raspbian
apt-get install unison
Docker
docker run cmd.cat/unison unison powered by Commando

Bidirectional file synchronisation tool. More information: <https://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html>.

  • Sync two directories (creates log first time these two directories are synchronized):
    unison path/to/directory_1 path/to/directory_2
  • Automatically accept the (non-conflicting) defaults:
    unison path/to/directory_1 path/to/directory_2 -auto
  • Ignore some files using a pattern:
    unison path/to/directory_1 path/to/directory_2 -ignore pattern
  • Show documentation:
    unison -doc topics

© tl;dr; authors and contributors