mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 08:51:34 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/unison
Normal file
25
tldr/unison
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
|
||||
- View documentation:
|
||||
|
||||
`unison -doc {{topics}}`
|
||||
Reference in New Issue
Block a user