0

I have to handle collisions (someone/something modified both files - How i can merge changes or just overwrite older version).

In other word I want to sync folders with the latest modification time of its file

Example :- folder_1/file.txt changed at 12:30 folder_2/file.txt changed at 12:35

I want to execute ./unison to give me the following result :- update file with regards to latest modification time so that update file folder_1/file.txt to became the same file folder_2.file.txt

1
  • i want to sync two folder biased on latest modification time the case [Sooner or later I have to handle collisions (someone/something modified both files - How i can merge changes or just overwrite older version).] is appear Aug 2, 2011 at 10:15

1 Answer 1

0

Use the option -prefer newer, see also the unison manual

1
  • i have another ... when i delete folder from server the unison also delete it from another server but i want to disable delete and enable copy i need always the folder have the same file Aug 3, 2011 at 12:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .