![]() Conflicting updates are displayed and user is prompted to select the direction of the sync, or they can be ignored and not synced.Įach root can be continously synced on a fixed time interval. For example, certain paths and files can be excluded from the sync, also files based on size (large trajectories, folder display files.).Ĭonflict resolution unison can be used in batch mode, syncing the nonconflicting updates without user intervention. The roots do not have to be completely synced. It is a good idea to sync the ~/.unison/*.prf files, so that the profiles will be available on every machine and you will be able to start sync from both sides if two-way passwordless ssh works. Test if it works by executing unison -version on the local machine ssh unison -version on the remote machine. ![]() Put it somewhere in your PATH, so that it can be invoked locally and remotely. How to set upĭownload binaries from official website and make sure the version number is the same. Synchronization complete at 12:06:54 (2 items transferred, 0 skipped, 0 failed) 3. UNISON 2.48.3 finished propagating changes at 12:06:54.10 on Copying file2.txt from /example/dir2 to /example/dir1 Copying file1.txt from /example/dir1 to /example/dir2 UNISON 2.48.3 started propagating changes at 12:06:54.09 on ![]() This kind of copying cannot be performed by rsync so simply. Lets create a file file1.txt in dir1 and file2.txt in dir2. Users/mrepic/Desktop/LCBC_retreat/unison/example/dir2 Users/mrepic/Desktop/LCBC_retreat/unison/example/dir1 Warning: No archive files were found for these roots, whose canonical names are: Syncing for the first time is a bit special, since unison informs us that these two roots have not been synced with unison before. Lets create two empty folders dir1 and dir2 and sync them. The two folders are called roots in unison. Lets sync two local folders dir1 and dir2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |