[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] advice needed: how do you guys sync org files between devices?
From: |
Christopher Allan Webber |
Subject: |
Re: [O] advice needed: how do you guys sync org files between devices? |
Date: |
Mon, 08 Jul 2013 10:53:45 -0500 |
User-agent: |
mu4e 0.9.9.5-dev5; emacs 24.1.50.1 |
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
- Re: [O] advice needed: how do you guys sync org files between devices?, (continued)
Re: [O] advice needed: how do you guys sync org files between devices?, Ramon Diaz-Uriarte, 2013/07/01
Re: [O] advice needed: how do you guys sync org files between devices?, Simon Thum, 2013/07/02
Re: [O] advice needed: how do you guys sync org files between devices?, Samuel Loury, 2013/07/03
Re: [O] advice needed: how do you guys sync org files between devices?, G. Martin Butz, 2013/07/03
Re: [O] advice needed: how do you guys sync org files between devices?, Ian Barton, 2013/07/04