Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i want to disable delete option of unison in other word i want unison tool always copy file [don't delete anything]. I read manual but i can not find what i need .

for example we have two folder folder1 and folder2

1- the first time :- folder1 contain text.txt

2- run unison :- text.txt copied to folder2

3- delete text.txt from folder2

4- run unison :- the current case file text.txt deleted from folder1 but i want to copy text.txt again to folder1

share|improve this question
up vote 2 down vote accepted

Unison is a 2-ways synchronization tool. If you only want to synchronize in one-way, take a look at --force, --prefer option or use rsync for alternative.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.