1

Suppose I have some network-accessible storage, like an NFS mount, google-drive-ocamlfuse mount or SSHFS. These are all immediate mode storage systems, i.e. when I copy a file to the mount, it is immediately uploaded, and the operation blocks until the upload is finished. Similarly for downloading, files have to always be re-downloaded on opening.

I'm looking for a program which would, given a directory on a local filesystem, synchronize it with the above mentioned storage in background. To the user this program with such storage should look very similar to Dropbox: put a file in the directory — and it gets uploaded in background, something changed on the remote storage — and soon you have the change reflected in you local directory.

Is there such a (freeware) program? I'd prefer opensource one.

3
  • Have not tried it myself, but googling for "inotify rsync" (which was the first coming to my mind here) brought up lsyncd, which from its description sounds like it matches your needs. Not sure whether it works bidirectional, though. Here is a more detailed German blog article on it. Another alternative would be git-annex, which I also wanted to look at for some time but never managed...
    – Izzy
    Dec 10 '16 at 20:59
  • I also think lsyncd would be your choice, I described it in this answer softwarerecs.stackexchange.com/questions/36797/…. Dec 11 '16 at 0:12
  • @ArkadiuszDrabczyk I've tried lsyncd, and it appears to not quite suite me: it's asymmetrical by nature, meaning that it downloads remote changes to a local directory ("Source" to "Target" in its terminology), but doesn't upload local changes to remote directory.
    – Ruslan
    Jul 4 '17 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.