blob: bc9e34d4b54cf77998afee3a7265c82f1c98eefb (
plain)
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
|
# Unison profile template for path synchronization
# Copy to ~/.unison/paths.prf and adjust paths as needed
# Root directories (will be replaced by just setup)
root = TEMPLATE_SOURCE/usync
root = TEMPLATE_TARGET/usync
# Auto-accept non-conflicting changes
auto = true
# Prefer newer files when conflicts occur
prefer = newer
# Batch mode (no interactive prompts)
batch = true
# Ignore patterns
ignore = Name *.tmp
ignore = Name .DS_Store
ignore = Name Thumbs.db
ignore = Name *.swp
ignore = Name *.swo
ignore = Name .git*
ignore = Path temp/
ignore = Path cache/
ignore = Path .cache/
# Performance settings
maxthreads = 20
# Don't sync permissions (can cause issues between filesystems)
perms = 0
# Sync modification times (important for prefer = newer)
times = true
# Log sync actions
log = true
logfile = TEMPLATE_HOME_DIR/.unison/unison.log
# Performance options
# Terse output - less verbose
terse = true
# Use rsync for faster transfers of large files
rsync = true
# Optimize transfers using local copies when possible
xferbycopying = true
# Sort files by size (small files first) for faster initial sync
sortbysize = true
|