From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Re: Sync org-mode files in different computers Date: Wed, 22 Oct 2008 10:51:58 +0100 Message-ID: <48FEF7BE.5050209@manor-farm.org> References: <87vdvl4i5g.fsf@gmail.com> <873aipcvj9.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsaO1-0001T8-HA for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 05:52:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsaNw-0001RP-As for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 05:52:15 -0400 Received: from [199.232.76.173] (port=45488 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsaNv-0001RJ-Fb for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 05:52:12 -0400 Received: from a2s22.a2hosting.com ([69.39.86.130]:43771) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsaNu-0004nd-Ry for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 05:52:11 -0400 Received: from [217.146.125.41] (helo=firewall.banter.local) by a2s22.a2hosting.com with esmtp (Exim 4.69) (envelope-from ) id 1KsaNm-0003Wo-4P for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 05:52:02 -0400 Received: from localhost (localhost [127.0.0.1]) by firewall.banter.local (Postfix) with ESMTP id 2982DC9E3 for ; Wed, 22 Oct 2008 09:52:08 +0000 (UTC) Received: from firewall.banter.local ([127.0.0.1]) by localhost (firewall.banter.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jdswr0pcAQR3 for ; Wed, 22 Oct 2008 09:52:07 +0000 (UTC) Received: from [192.168.0.60] (unknown [192.168.0.60]) by firewall.banter.local (Postfix) with ESMTP id D004AC9E2 for ; Wed, 22 Oct 2008 09:52:07 +0000 (UTC) In-Reply-To: <873aipcvj9.fsf@gollum.intra.norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > >> Hi, I am a new emacs user and I am exploring org-mode which is really amazing. >> >> I would like to know how I sync org-mode files in different computer over local >> network and over the internet. > > Hi, > > I personally use git to sync my org-mode files but there are lots of > tools available to sync files across multiple machines. > > Some options are: > > - put your org-mode files in a source control system (git, svn, > whatever system you are used to) and check out the files on all your > target systems > I use bzr (another vcs). My system is to place my org files on a server at home and mount the org directory as an nfs share on my local computers. Thus when I am at home I can access org files from any computer on my home network, or just run emacs on the server. Every evening a cron job automatically commits any changes to my server's bzr repo and at the same time pushes the updates to an external web server. On my notebook I have a local bzr branch of my org files. This covers most bases when I am away: If I remember before I go out, I can pull the latest changes from my home server to my notebook and just carry on working. If I forget to pull my changes I can pull all changes up to last evening's commit from the Internet. If all the above fails, I can just work on the branch I have on my notebook. This isn't usually more than a couple of days old. When I get to somewhere with an Internet connection I can use bzr to merge the changes on my notebook to the latest version. It also means that I have at least three copies of my org files in different places, so disk failures, etc won't result in much, or any, lost work. Ian.