Two-way Folder Synchronization on Ubuntu via oSync

You might be in same shoes as I am:

In my case, Osync (oSync? whatever) helps a lot.

A two way filesync script with fault tolerance, resuming, deletion backup and conflict backups running on linux and virtually any system supporting bash.

File synchronization is bidirectional, based on rsync, and can be run manually, by cron, or triggered whenever a file changes on master.

Built on top of rSync, I find its implementation of two-way folder syncing simple and straightforward. I have been using the oSync for over a week now, and the solution is tailored exactly to what I was expecting. Couldn’t wish for more (at least, at the moment).

I have been using the oSync for over a week now, and the solution is tailored exactly to what I was expecting. Couldn’t wish for more (at least, at the moment).

How I use Osync

Someone could spend all day trying to teach you how to use the tool. Well, we don’t have the luxury. Thus, I’ll be jumping straight into how I currently use the tool and in the situations, I have found osync to be priceless.

Obviously, you need it installed. At the time of writing, it’s as simple as:

$ git clone -b "v1.01" https://github.com/deajan/osync
$ sh install.sh

For quick usage approaches, check the writings on the wall.

Osync in action

To make life a bit easier for myself, tailored to what I need exactly, namely:

With the above in mind, I came up with this ultra-lazy-(perhaps-bad) solution:

Mind you, the above solution works, and I am happy with it unless you wanna help make it better 😉

 

Exit mobile version