unison: add page (#3358)

This commit is contained in:
W. M. Moreland 2019-10-08 19:46:12 +02:00 committed by Owen Voke
parent c0e340e8c1
commit c1e257fd44

20
pages/common/unison.md Normal file
View File

@ -0,0 +1,20 @@
# 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 synchronised):
`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}}`