# 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