Last active
October 14, 2024 06:09
-
-
Save monnoval/efbad2fb896cd9a6af0e04c9eb8b1699 to your computer and use it in GitHub Desktop.
A sample one direction unison profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create one config file for each folder | |
# /home/whois/.unison/sample.prf | |
# Run unison in commandline with the following | |
# unison sample | |
root = /source/directory | |
root = /destination/directory | |
force = /source/directory | |
# Continue watching for changes on both sides | |
repeat = watch | |
# Do not copy temporary and other unwanted files | |
ignore = Name {.DS_Store,Thumbs.db,Recycled,$RECYCLE.BIN,RECYCLER,.Trashes,._.Trashes,#recycle,@eaDir,.git*,.ignore,tags,tags.*,temp.*,*~,.*~} | |
# batch mode: ask no questions at all | |
# this setting includes some of the ones below included for convenience | |
batch = true | |
# automatically accept default (nonconflicting) actions | |
auto = true | |
# ask for confirmation before committing results of a merge | |
confirmmerge = false | |
# ask about whole-replica (or path) deletes (default true) | |
confirmbigdel = false | |
# choose this replica's version for conflicting changes | |
prefer = newer | |
# part of the permissions which is synchronized = 0 | |
perms = 0 | |
# Only print error messages | |
silent = true | |
# synchronize modification times | |
times = true | |
# if you have fastcheck error | |
#fastcheck = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment