Forrest logo
tool overview
On this page you find all important commands for the CLI tool unison. If the command you are looking for is missing please ask our AI.

unison

Unison is a powerful command line tool used for file synchronization and backup purposes. It works cross-platform and is compatible with various operating systems such as Linux, macOS, and Windows.

With Unison, users can synchronize files between two or more machines, both locally and remotely, over SSH connections. It ensures that both source and destination files remain identical by analyzing the differences and transferring only the necessary changes.

Unison provides a user-friendly interface using the command line, allowing users to specify source and destination directories, set synchronization options, and manage file conflicts during synchronization.

One of the key features of Unison is its ability to detect and handle conflicts when multiple machines have modified the same file. It allows users to choose which version to keep or merge the changes manually.

Unison uses a reliable and efficient synchronization algorithm that transfers files in increments, reducing the time required for subsequent synchronizations.

It maintains a comprehensive synchronization history that allows users to review the changes made during each synchronization session.

Unison supports both one-way and bidirectional synchronization, making it a flexible tool for various use cases such as backup, remote file sharing, and collaborative work.

The tool is highly customizable, allowing users to specify file inclusion/exclusion patterns, set bandwidth limits, and define synchronization behavior based on file attributes.

Unison can be automated using scripting and scheduling tools, enabling regular and automatic synchronization between machines.

Overall, Unison is a versatile and feature-rich command line tool that provides reliable file synchronization and backup capabilities, making it an excellent choice for users looking for efficient and customizable file synchronization solutions.

List of commands for unison:

  • unison:tldr:233e1 unison: Ignore some files using a pattern.
    $ unison ${path-to-directory_1} ${path-to-directory_2} -ignore ${pattern}
    try on your machine
    explain this command
  • unison:tldr:4e256 unison: Sync two directories (creates log first time these two directories are synchronized).
    $ unison ${path-to-directory_1} ${path-to-directory_2}
    try on your machine
    explain this command
  • unison:tldr:55d84 unison: Automatically accept the (non-conflicting) defaults.
    $ unison ${path-to-directory_1} ${path-to-directory_2} -auto
    try on your machine
    explain this command
  • unison:tldr:d58c7 unison: Show documentation.
    $ unison -doc ${topics}
    try on your machine
    explain this command
tool overview