emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Re: advice needed: how do you guys sync org files between devices?
Date: Mon, 1 Jul 2013 20:02:24 +0200	[thread overview]
Message-ID: <2013-07-01T19-47-18@devnull.Karl-Voit.at> (raw)
In-Reply-To: CAJMNdQ+K=HEfj0L7H2kOYD00Q8X=2w9mMMK_51Tti-0+MMWAvQ@mail.gmail.com

* Tomas Grigera <tgrigera@gmail.com> 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

  reply	other threads:[~2013-07-01 18:02 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-01 12:06 advice needed: how do you guys sync org files between devices? Xebar Saram
2013-07-01 16:10 ` Brian van den Broek
2013-07-01 16:25   ` Tomas Grigera
2013-07-01 18:02     ` Karl Voit [this message]
2013-07-02  7:40       ` Alan Schmitt
2013-07-02  8:03         ` Karl Voit
2013-07-02  9:06           ` Rasmus
2013-07-02  9:43             ` Myles English
2013-07-02 13:36           ` Alan Schmitt
2013-07-02 14:07             ` Rasmus
2013-07-02 14:27               ` Alan Schmitt
2013-07-02 16:03                 ` Suvayu Ali
2013-07-04  8:26                   ` Alan Schmitt
2013-07-02 15:50             ` Brett Viren
2013-07-03 21:48         ` Julien Cubizolles
2013-07-02 10:17     ` Suvayu Ali
2013-07-02 12:30       ` Xebar Saram
2013-07-02 16:59         ` Juan G.
2013-07-02 15:59       ` David Engster
2013-07-02 16:08         ` Suvayu Ali
2013-07-02 16:11           ` David Engster
2013-07-02 16:51             ` Suvayu Ali
2013-07-01 16:31 ` Ramon Diaz-Uriarte
2013-07-02 19:49 ` Simon Thum
2013-07-03  8:17 ` Samuel Loury
2013-07-03 17:33 ` G. Martin Butz
2013-07-03 20:05   ` Nick Dokos
2013-07-04  8:28 ` Ian Barton
2013-07-04  8:57   ` Nicolas Richard
2013-07-08 15:53   ` Christopher Allan Webber
2013-07-08 21:41     ` Xebar Saram
2013-07-09  8:26       ` Rasmus

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=2013-07-01T19-47-18@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).