-
Notifications
You must be signed in to change notification settings - Fork 7
/
unison.txt
59 lines (47 loc) · 1.27 KB
/
unison.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
directory: ~/Library/Application Support/Unison
# interface
unison [options] root1 root2 [options]
unison profile
* profile in directory
* default.prf is ignored
# options
-ignore pathspec
-ignorenot pathspec
-force newer // unidirectional
-path path // synchronize only specific directory
# shortcuts
L // list all changes
l // list all changes with details
g // propagate immediately
p // go back to previous item
f // follow unison recommendations
> // left right
< // right left
/ // ignore
d // show diff
# pathspec
-ignore 'Regex|Name|Path regex'
Name *.h5 // ignore file extension anywhere
Name dir/*.h5 // ignore *h5 in directory
# profiles
~/Library/Application Support/Unison/profile_name.prf
unison profile_name
## Roots of the synchronization
root = /home/bcpierce
root = ssh:https://ebi//homes/angermue/research/bs/dev/150515_predict
* two //
* ~ does not work!
## Paths to synchronize
path = current
path = common
path = .netscape/bookmarks.html
## Some regexps specifying names and paths to ignore
* No way to discern between files as directories
ignore = Name temp.*
ignore = Name *~
ignore = Name .*~
ignore = Path */pilot/backup/Archive_*
ignore = Name *.o
ignore = Name *.tmp
ignore = Regex runs/151103/.*\.csv
* Ignore alls csv files somewhere below runs/151103