unison
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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.