From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ramon Diaz-Uriarte Subject: Re: Favorite way of syncing? Date: Fri, 11 Sep 2015 18:42:20 +0200 Message-ID: <877fnwnc0j.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaRP9-0008DW-TR for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 12:42:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaRP6-0006SY-KW for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 12:42:27 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:34149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaRP6-0006SL-Dm for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 12:42:24 -0400 Received: by wicfx3 with SMTP id fx3so70841562wic.1 for ; Fri, 11 Sep 2015 09:42:23 -0700 (PDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tobias Frischholz Cc: Org Mode Mailing List On Fri, 11-09-2015, at 15:59, Tobias Frischholz wrote: > Hey there! > > I was wondering what is your favorite way of syncing your org files and > everything. I’ve checked out unison, but I want more of an automated > system that synchronizes my two clients via an SSH server. > I use syncthing (https://syncthing.net/) which, admittedly, does not require a server nor uses SSH :-). I keep four computers in sync this way, and also use it to send/receive the org files (with MobileOrg) to/from android devices. It is as automatic as I can think of. Once set up, I have to do nothing and it just works. If you are familiar with BTsync you can think of syncthing as somewhat similar (but much better, and free software). It is possible to enable a rudimentary form of version control with syncthing itself, but I don't (the files change too often). Instead, one of the computers (which should always be on) is also running Seafile (https://www.seafile.com/en/home/), which actually I think uses git as a backend, so I can recover disasters. Syncthing provides conflict detection. It is not git, but it is enough for me with org files (I rarely edit in two or machines at the same time, and the last machine where I make a change is often connected before I work on another so I do not often have a chance for conflict). [In the past, I used dropbox ---instead of syncthing, though syncthing is not exactly a one-to-one replacement---, and nightly cron jobs that committed the org directory in one of the machines to a bzr repo ---instead of the seafile part--- for disaster recovery.] > So far, I’ve also read that people use TRAMP in conjunction with an SSH Server (and work exclusively on this SSH server). > I’ve also read about org-sync and magit (git is an option for me). > And now I’m starting the get confused. > I use magit and git for version control but I do not find formal version control very useful with my org files. I like to be able to finish something, stop the timer on the laptop, and a second later put it to hibernate and leave my house/office, without the need for a commit and push, and knowing that all of that has been synced to all the other machines that are on and connected. I know, though, that other people feel differently. Best, R. > Any helpful thoughts would be greatly appreciated! > > Best regards, > Tobias Frischholz > > PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?search=0xCD463AC1&op=index -- Ramon Diaz-Uriarte Department of Biochemistry, Lab B-25 Facultad de Medicina Universidad Autónoma de Madrid Arzobispo Morcillo, 4 28029 Madrid Spain Phone: +34-91-497-2412 Email: rdiaz02@gmail.com ramon.diaz@iib.uam.es http://ligarto.org/rdiaz