From: Christopher Allan Webber <cwebber@dustycloud.org>
To: ian@manor-farm.org
Cc: emacs-orgmode@gnu.org
Subject: Re: advice needed: how do you guys sync org files between devices?
Date: Mon, 08 Jul 2013 10:53:45 -0500 [thread overview]
Message-ID: <87a9lxujxy.fsf@earlgrey.lan> (raw)
In-Reply-To: <51D5322D.7000107@wilkesley.net>
Ian Barton writes:
> On 01/07/13 13:06, Xebar Saram wrote:
>> Hi all
>>
>> I have been using dropbox since i started using orgmode a few weeks ago
>> (yeah im a neewb :)), which kinda works but i find it very annoying as
>> it keeps creating conflicted copies, isnt reliable on my Linux main
>> machine etc etc..
>>
>> I was wondering what you guys do for syncing org files between PC's,
>> Os's, devices (android etc)..
>>
>
> I used to use Dropbox and git. However, as you have found I often got
> "Conflicted Files". This is a particular problem if it happens in your
> .git folder, because it can lead to a corrupt git repo. Even though I
> have a remote git repo, this still lead to lots of wasted time trying to
> sort out the mess.
>
> Recently I have been using BitTorrent Sync from
> http://labs.bittorrent.com/experiments/sync.html So far this works
> really well. If you are using Linux you need to do a bit of fiddling to
> get it to run as your local user, as it doesn't preserve file
> permissions. So if you are running it as a daemon files at the remote
> end all get up being owned by root.
>
> The default is for two way synchronization. However, it's easy to set up
> one way sync. This is useful for backups. If you accidentally made a
> change in your backup, you wouldn't want it pushed back to your aster
> version.
>
> I also run a cron job on my laptop, which is my main work machine. Every
> hour this commits my org files to my git repo and pushes the changes to
> my remote on a different computer.
>
> Ian.
Have you considered using git-annex with git-annex assistant? I'm doing
this now... it automatically syncs on each file save. I also have it
set up so that orgmode files get checked in as if regular git files
rather than moved to the annex like:
[annex]
# uuid and "version" keys up here
largefiles = largerthan=100kb and not (include=*.org or include=*.org_archive or include=*.txt or include=*.tex)
This will thus commit any files < 100kb and orgmode / latex files as
just plain git files instead of moving them to the annex.
I highly, highly recommend this setup.
- Chris
next prev parent reply other threads:[~2013-07-08 15:53 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
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 [this message]
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=87a9lxujxy.fsf@earlgrey.lan \
--to=cwebber@dustycloud.org \
--cc=emacs-orgmode@gnu.org \
--cc=ian@manor-farm.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).