UnisonSync

UnisonSync

100 - 500 downloads

Add this app to your lists
ATTENTION: report is that UnisonSync has issues with Android 5 (Lollipop). If you are running Android 5 please hold off before buying until the issue is fixed.

UnisonSync brings the Unison File Synchronizer - a powerful cross-platform file synchronization tool - to Android!

UnisonSync allows you to use Unison without having to use it from the command line. Root is not required.

Unison is a powerful cross-platform file synchronization tool available on Linux, OS X, Windows, etc. Unison takes two roots, that can be on different machines and can be modified separately, and brings them up to date by smartly propagating the changes between the roots.

The key features of Unison are:
- Synchronization between different platforms
- Handles simultaneous updates to both roots
- Smart and safe: Unison resolves most simultaneous changes on both roots automatically, and prompts the user for input if it cannot determine the copy to propagate
- Synchronization to a server over SSH: any machine with an SSH server and Unison can act as server
- Resilient: handles interruptions, network disconnections, etc.
- Bandwidth efficient: the data is transfered by a compressed protocol similar to rsync, and only modified files (or parts of files) are transferred.

As an Android application, UnisonSync hides all the complexities of using Unison on the command line.
UnisonSync allows:
- to generate the public/private keys (using the included OpenSSH) to allow the Android device to connect to the SSH server against which you want .
- to configure the roots and unison parameters (fully manually configurable as well; one profile or synchronization directory at a time only).
- to launch the synchronization (which requires a button press! hint to Tasker users). Synchronization then happens in the background as an Android service. Once the synchronization is over or if user input is needed a notification pops up.
- to browse through Unison's command line output

NOTES:
- Only for ARM devices

REMARK ON OPEN-SOURCE LICENSE:
UnisonSync comprises binaries of Unison and OpenSSH compiled from the existing open-source repositories (see acknowledgements).
Binaries are packaged alongside UnisonSync's APK, but UnisonSync does not actually link against these unmodified apps.
Therefore UnisonSync does not violate the GPL license.

ACKNOWLEDGEMENTS

- Benjamin Pierce et al.'s Unison File Synchronizer (http://www.cis.upenn.edu/~bcpierce/unison)
- Keigo Imai's patch to to cross-compile OCaml on Android (http://sites.google.com/site/keigoattic/ocaml-on-android)
- Jérôme Vouillon's OPAM Android repository (http://github.com/vouillon/opam-android-repository)
- Matt Johnston's Dropbear SSH client (http://matt.ucc.asn.au/dropbear/dropbear.html)

Recently changed in this version

- 21.10.2014:
-- Updated OpenSSH to version 6.7p1 and OpenSSL to 1.01j.

- 04.03.2014:
-- Substituted DropbearSSH with OpenSSH: this requires to regenerate the public/private keys and update the server's authorized keys
-- Bugfix: the interleaving of stdout/stderr on the console was sometimes mixed up; fixed with OpenSSH and native exec

<...>

- 14.10.2013: first release (Unison 2.40.102)


Comments and ratings for UnisonSync
  • (58 stars)

    by Patricio Jara on 15/08/2014

    After the last update I forgot to generate/update new keys. Afterwards it is working perfectly fine. The one profile could be improved but if you want to sync your files without sharing them with any other service/server and keep your private files really private, then this is the way to go.

  • (58 stars)

    by Fletch Hasues on 30/07/2014

    Unfortunately, I think the intentions were in the right place, but one must know how to decode most of Unison's options as command line arguments to the program and supply those in the "GUI interface". The biggest drawback is the lack of profiles. Using the command line version of the program, it may be possible to use profiles, but this version does not allow for such. Moreover, it would seem

  • (58 stars)

    by Tom Bertalan on 21/03/2014

    Works well, but is crippled by its inability to create multiple profiles. This should be an easy fix, since it's built in to unison itself. If this changes, I'll change my rating to five stars. $6 is rather pricey for an app without this feature, especially considering that this app *doesn't* reproduce the lovely item-by-item conflict resolution of the desktop GUI.

  • (58 stars)

    by Tim Abell on 21/03/2014

    Thanks for creating this. Couldn't find proper place for reporting bugs. Loses output on rotation and screen blanking which is a bit annoying but not a showstopper. Automatically creating and sharing the key would be handy. Had issues with "Uncaught exception Sys_blocked_io". See https://alliance.seas.upenn.edu/~bcpierce/wiki/?n=Main.UnisonFAQTroubleshooting in older version.

  • (58 stars)

    by David Ibbetson on 03/12/2013

    The configuration is somewhat messy but that is a unison problem. You do need to know how to configure the far end to handle the ssh authentication, but I would assume that anyone running unison could do that. Having got it working I didn't want to alter anything, but is it/would it be possible to use a standard .prf file for the config?