emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@manor-farm.org>
To: emacs-orgmode@gnu.org
Subject: Re: Re: Sync org-mode files in different computers
Date: Wed, 22 Oct 2008 10:51:58 +0100	[thread overview]
Message-ID: <48FEF7BE.5050209@manor-farm.org> (raw)
In-Reply-To: <873aipcvj9.fsf@gollum.intra.norang.ca>

> 
>> 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.

  reply	other threads:[~2008-10-22  9:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 23:56 Sync org-mode files in different computers Flávio de Souza
2008-10-22  0:39 ` Bernt Hansen
2008-10-22  9:51   ` Ian Barton [this message]
2008-10-24  0:16     ` Flávio de Souza
2008-10-24  0:13   ` Flávio de Souza
2008-10-22 16:55 ` Jason F. McBrayer
2008-10-24  0:17   ` Flávio de Souza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48FEF7BE.5050209@manor-farm.org \
    --to=lists@manor-farm.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).