From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: advice needed: how do you guys sync org files between devices? Date: Mon, 1 Jul 2013 20:02:24 +0200 Message-ID: <2013-07-01T19-47-18@devnull.Karl-Voit.at> References: Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtiR0-0002zQ-MY for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 14:02:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtiQv-0002cX-Bh for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 14:02:42 -0400 Received: from plane.gmane.org ([80.91.229.3]:59547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtiQv-0002cS-56 for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 14:02:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UtiQt-0001Bp-2E for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 20:02:35 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jul 2013 20:02:35 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jul 2013 20:02:35 +0200 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: emacs-orgmode@gnu.org * Tomas Grigera wrote: > > To me, a rather reliable way (without version control) has been unison. > Easy to set up and learn, fast. Only problem is that it doesn't deal well > (actually, at all) with merges (i.e. a file that has been modified in both > computers). I am using Unison File Synchronizer in a cron-job[1] to sync my Org-mode files with a 24/7-server in the cloud (my *own* server). All computers are being synced with this server. This works as long as I do not forget to save all and exit Emacs before I leave/shut down/hibernate my machines. This way, I do prevent two changes happening on different machines (sync conflict). Unison does not offer any merge functionality. However, you can easily use third party tools to handle merge conflicts (Emacs, vim, ...). > But I agree with Brian that in the long run, though harder to learn, git is > a charm. Totally agree. I am using gitwatch[2] to automatically commit any changes in my org-mode files. However, I do this only on my main working machine and ignore git information when syncing with Unison (multiple reasons, complicated to explain). In case you want to manage all of your Org-mode files with git (in contrast to me), you can also choose to auto-push/pull those git commits to other machines as well. This should even merge the most simple conflicts without user interaction. I do not have experience with this method by myself. There are several interesting solution candidates out there: Sparkle Share and several script on github. HTH 1. https://en.wikipedia.org/wiki/Crond 2. https://github.com/nevik/gitwatch -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github