4 ms·
Well, I like "unison" -- it is a well designed, two way sync app. I personally run it in "-auto" mode -- every time I run the program, it shows me all actions
by theamk 8y ago
Well, I like "unison" -- it is a well designed, two way sync app.
I personally run it in "-auto" mode -- every time I run the program, it shows me all actions it wants to do, any conflicts it detected, and asks me if I want to proceed.
If you want to run live mode, you can just run:
unison -ui text -repeat 5 . ssh://remote-host/dir
it will check for changes every 5 seconds, sync over any changes, and skip all the conflicts. You'll have to re-run it without -repeat option to resolve the conflicts.
- api 8y agoI tried it but it never seems to work all that well for me. It also has terrible UX with confusing options.
- theamk 8y agoUnison's UX has options? I did not know. I recommend treating unison like you do rsync -- read the manpage, configure it with config files and shell wrappers. If you run it with "-ui text -auto", then it will print the list of changes, and ask: "do you want to proceed (y/n)", which is not that confusing. Treat it as mostly text-based syncer with UI as an extra bonus, and it will be much less confusing.