unison

Bidirectional file synchronisation tool.

TLDR

Sync two directories (creates log first time these two directories are synchronized)

$ unison [path/to/directory_1] [path/to/directory_2]
copy


Automatically accept the (non-conflicting) defaults
$ unison [path/to/directory_1] [path/to/directory_2] -auto
copy


Ignore some files using a pattern
$ unison [path/to/directory_1] [path/to/directory_2] -ignore [pattern]
copy


Show documentation
$ unison -doc [topics]
copy

Copied to clipboard