

- Unison file synchronization update#
- Unison file synchronization archive#
- Unison file synchronization software#
unison directory for the values of roots of two replicas and other preferences. If Unison is started with no arguments on the command line, Unison looks for default.prf in the. Preferences can be stored in a text file so that they need not be typed every time Unison is run. maxthreads n - maximum number of concurrent file transfers.log - record actions in file specified by logfile preference.ignore xxx - add a pattern to ignore list.

Unison file synchronization archive#
The archive file for each replica and profiles are stored in the. If set, its value is the name of this directory. Its location depends on the UNISON environment variable. unison directory, preferences and profiles. We will get back to the above-mentioned command formats but first, let's look at the concepts of. Unison lists the conflicting updates, one by one, giving the opportunity to the user to examine the relevant path in more detail and choose an appropriate action. Then, there are updated paths which are conflicting. For these, Unison suggests a default action to the user. First, the paths which are not conflicting, for example new files that have been created since the last synchronization.

Updated paths can be categorized into two groups. Then, there are paths which have been updated and need to be synchronized. If the path is nothing, that is, it is not a file, symbolic link or directory, its contents are the token "ABSENT".Ī path is conflicting, if it has been updated in one of the replicas and the contents in the two replicas are not identical.īased on the analysis of its archive files and current contents of paths, Unison identifies the paths, which are the same in both replicas and, for these, nothing needs to be done. If the path is a directory, its contents are the token DIRECTORY along with the permission bits of the directory. If the path is a symbolic link, its contents are the string giving the link in the file system. If the path is an ordinary file, the contents are the actual bytes in the file and its permission bits.
Unison file synchronization update#
An empty path denotes the root.Īn update refers to change in contents of a path since Unison was used to synchronize the replica last time.

For example, if the root abc/def is being synchronized with another replica and then path ghi/jkl refers to the string abc/def/ghi/jkl, which may be one of the above-mentioned four possibilities.
Unison file synchronization software#
Unison can help you in synchronizing the two directory trees of the software package on the two computers. At the end of the day, you wish to synchronize the two versions on the laptop and the desktop. You might also have the development environment on a laptop and do some work on it occasionally. For example, you might be working on a development of a new software product on a desktop computer. As we work on different computers at different times, it becomes increasingly difficult to keep track of file versions.
