diff options
Diffstat (limited to 'unison-profile.prf')
| -rw-r--r-- | unison-profile.prf | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/unison-profile.prf b/unison-profile.prf new file mode 100644 index 0000000..bc9e34d --- /dev/null +++ b/unison-profile.prf @@ -0,0 +1,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
\ No newline at end of file |
