2019-10-08 18:46:12 +01:00
|
|
|
# unison
|
|
|
|
|
|
|
|
> Bidirectional file synchronisation tool.
|
2024-05-23 17:13:29 +01:00
|
|
|
> More information: <https://github.com/bcpierce00/unison>.
|
2019-10-08 18:46:12 +01:00
|
|
|
|
2022-06-27 11:23:12 +01:00
|
|
|
- Sync two directories (creates log first time these two directories are synchronized):
|
2019-10-08 18:46:12 +01:00
|
|
|
|
|
|
|
`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}}`
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
- View documentation:
|
2019-10-08 18:46:12 +01:00
|
|
|
|
|
|
|
`unison -doc {{topics}}`
|