all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Favorite way of syncing?
@ 2015-09-11 13:59 Tobias Frischholz
  2015-09-11 14:27 ` Alan Schmitt
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Tobias Frischholz @ 2015-09-11 13:59 UTC (permalink / raw)
  To: Org Mode Mailing List


[-- Attachment #1.1: Type: text/plain, Size: 625 bytes --]

Hey there!

I was wondering what is your favorite way of syncing your org files and everything.
I’ve checked out unison, but I want more of an automated system that synchronizes my two clients via an SSH server.

So far, I’ve also read that people use TRAMP in conjunction with an SSH Server (and work exclusively on this SSH server).
I’ve also read about org-sync and magit (git is an option for me).
And now I’m starting the get confused.

Any helpful thoughts would be greatly appreciated!

Best regards,
Tobias Frischholz

PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?search=0xCD463AC1&op=index


[-- Attachment #1.2: Type: text/html, Size: 1630 bytes --]

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 13:59 Favorite way of syncing? Tobias Frischholz
@ 2015-09-11 14:27 ` Alan Schmitt
  2015-09-11 14:47 ` Jorge A. Alfaro-Murillo
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: Alan Schmitt @ 2015-09-11 14:27 UTC (permalink / raw)
  To: Tobias Frischholz; +Cc: Org Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]

Hello,

I’m currently working on a single machine, but I may have a couple
suggestions.

On 2015-09-11 15:59, Tobias Frischholz <tobias@friolz.com> writes:

> Hey there!
>
> I was wondering what is your favorite way of syncing your org files and
> everything.
> I’ve checked out unison, but I want more of an automated system that
> synchronizes my two clients via an SSH server.

Have you looked at the “-repeat” option of unison? When I was using
several machines, I was using simple scripts to run when I arrived and
when I left, making sure I was up to date.

> So far, I’ve also read that people use TRAMP in conjunction with an SSH Server
> (and work exclusively on this SSH server).
> I’ve also read about org-sync and magit (git is an option for me).
> And now I’m starting the get confused.
>
> Any helpful thoughts would be greatly appreciated!

The problem with git is that you need to make sure you pull before
starting to make changes. This can also be solved by a script.

Please let us know when you have a working workflow.

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Last week athmospheric CO₂ average (Updated September 9, 2015, Mauna Loa Obs.):
377.86 ppm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 13:59 Favorite way of syncing? Tobias Frischholz
  2015-09-11 14:27 ` Alan Schmitt
@ 2015-09-11 14:47 ` Jorge A. Alfaro-Murillo
  2015-09-11 15:18   ` Eric Abrahamsen
  2015-09-11 15:13 ` Paul Rudin
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 20+ messages in thread
From: Jorge A. Alfaro-Murillo @ 2015-09-11 14:47 UTC (permalink / raw)
  To: emacs-orgmode

Tobias Frischholz writes:

> I was wondering what is your favorite way of syncing your org 
> files and everything. 
[...] 
> I’ve also read about org-sync and magit (git is an option for 
> me).  And now I’m starting the get confused.

magit is just the emacs mode for git, if you don't have it and use 
git you should really install it. But it does not sync anything 
you still have to M-x magit <enter> F F and M-x magit <enter> P P, 
for pull and push.

I have several computers and synchronize my org files with git. I 
think it is the best option because I do not have to worry about 
the sync not working (for example when I do not have a connection) 
and conflicts in the files.

-- 
Jorge.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 13:59 Favorite way of syncing? Tobias Frischholz
  2015-09-11 14:27 ` Alan Schmitt
  2015-09-11 14:47 ` Jorge A. Alfaro-Murillo
@ 2015-09-11 15:13 ` Paul Rudin
  2015-09-11 15:18 ` Eric S Fraga
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: Paul Rudin @ 2015-09-11 15:13 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Tobias Frischholz <tobias-CxV/IpQhd9jQT0dZR+AlfA@public.gmane.org> writes:

> Hey there!
>
> I was wondering what is your favorite way of syncing your org files and
> everything.
> I’ve checked out unison, but I want more of an automated system that
> synchronizes my two clients via an SSH server.
>
> So far, I’ve also read that people use TRAMP in conjunction with an SSH Server
> (and work exclusively on this SSH server).
> I’ve also read about org-sync and magit (git is an option for me).
> And now I’m starting the get confused.
>
> Any helpful thoughts would be greatly appreciated!
>

Dropbox (or similar) client on both machines?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 14:47 ` Jorge A. Alfaro-Murillo
@ 2015-09-11 15:18   ` Eric Abrahamsen
  2015-09-11 15:25     ` Tory S. Anderson
       [not found]     ` <34AA198A-5C08-4FDD-8D12-5241E44A0B9D@friolz.com>
  0 siblings, 2 replies; 20+ messages in thread
From: Eric Abrahamsen @ 2015-09-11 15:18 UTC (permalink / raw)
  To: emacs-orgmode

jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) writes:

> Tobias Frischholz writes:
>
>> I was wondering what is your favorite way of syncing your org files
>> and everything. 
> [...] 
>> I’ve also read about org-sync and magit (git is an option for me).
>> And now I’m starting the get confused.
>
> magit is just the emacs mode for git, if you don't have it and use git
> you should really install it. But it does not sync anything you still
> have to M-x magit <enter> F F and M-x magit <enter> P P, for pull and
> push.
>
> I have several computers and synchronize my org files with git. I
> think it is the best option because I do not have to worry about the
> sync not working (for example when I do not have a connection) and
> conflicts in the files.

I do this, too. I don't think Magit helps much, in fact I'd be better
off writing functions for `emacs-startup-hook' and `kill-emacs-hook'
that do my pushes and pulls for me.

But for now, I just try to remember to commit and push before I leave a
machine.

This way, you also really learn to appreciate using "git fetch" and "git
status", rather than doing a blind "git pull".

Eric

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 13:59 Favorite way of syncing? Tobias Frischholz
                   ` (2 preceding siblings ...)
  2015-09-11 15:13 ` Paul Rudin
@ 2015-09-11 15:18 ` Eric S Fraga
  2015-09-11 16:42 ` Ramon Diaz-Uriarte
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: Eric S Fraga @ 2015-09-11 15:18 UTC (permalink / raw)
  To: Tobias Frischholz; +Cc: Org Mode Mailing List

On Friday, 11 Sep 2015 at 15:59, Tobias Frischholz wrote:
> Hey there!
>
> I was wondering what is your favorite way of syncing your org files
> and everything.  I’ve checked out unison, but I want more of an
> automated system that synchronizes my two clients via an SSH server.

I use unison and it works like a charm, allowing me to keep 4+ systems
in complete sync.

The easiest alternative I can think of is Dropbox or equivalent, if you
want "automation".
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-234-g8c85c9

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 15:18   ` Eric Abrahamsen
@ 2015-09-11 15:25     ` Tory S. Anderson
  2015-09-11 15:48       ` Joon Ro
       [not found]     ` <34AA198A-5C08-4FDD-8D12-5241E44A0B9D@friolz.com>
  1 sibling, 1 reply; 20+ messages in thread
From: Tory S. Anderson @ 2015-09-11 15:25 UTC (permalink / raw)
  To: emacs-orgmode

At the moment I'm using a self-hosted OwnCloud to do syncing; it's 
super easy (takes care of itself), but sometimes conflicts are a 
problem (particularly when I forget to save my buffers before 
leaving work); if you notice it, though, it provides a conflict 
version (and has automatic versioning a la Dropbox). 

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) writes:
>
>> Tobias Frischholz writes:
>>
>>> I was wondering what is your favorite way of syncing your org 
>>> files
>>> and everything. 
>> [...] 
>>> I’ve also read about org-sync and magit (git is an option for 
>>> me).
>>> And now I’m starting the get confused.
>>
>> magit is just the emacs mode for git, if you don't have it and 
>> use git
>> you should really install it. But it does not sync anything you 
>> still
>> have to M-x magit <enter> F F and M-x magit <enter> P P, for 
>> pull and
>> push.
>>
>> I have several computers and synchronize my org files with 
>> git. I
>> think it is the best option because I do not have to worry 
>> about the
>> sync not working (for example when I do not have a connection) 
>> and
>> conflicts in the files.
>
> I do this, too. I don't think Magit helps much, in fact I'd be 
> better
> off writing functions for `emacs-startup-hook' and 
> `kill-emacs-hook'
> that do my pushes and pulls for me.
>
> But for now, I just try to remember to commit and push before I 
> leave a
> machine.
>
> This way, you also really learn to appreciate using "git fetch" 
> and "git
> status", rather than doing a blind "git pull".
>
> Eric
>
>
>

-- 
Tory S. Anderson
Computational Cognitive Narratologist
http://toryanderson.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 15:25     ` Tory S. Anderson
@ 2015-09-11 15:48       ` Joon Ro
  0 siblings, 0 replies; 20+ messages in thread
From: Joon Ro @ 2015-09-11 15:48 UTC (permalink / raw)
  To: Tory S. Anderson, emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 2377 bytes --]

I use Unison for settings like dotfiles, since with unison you don't have to put files into a specific folder or use symlinks. I miss versioning of Dropbox, but it is okay since settings do not change that frequently. I just back up everything every day.
I use AeroFS for sensitive data and Dropbox for other things.
Best,Joon

> From: torys.anderson@gmail.com
> To: emacs-orgmode@gnu.org
> Date: Fri, 11 Sep 2015 09:25:19 -0600
> Subject: Re: [O] Favorite way of syncing?
> 
> At the moment I'm using a self-hosted OwnCloud to do syncing; it's 
> super easy (takes care of itself), but sometimes conflicts are a 
> problem (particularly when I forget to save my buffers before 
> leaving work); if you notice it, though, it provides a conflict 
> version (and has automatic versioning a la Dropbox). 
> 
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> 
> > jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) writes:
> >
> >> Tobias Frischholz writes:
> >>
> >>> I was wondering what is your favorite way of syncing your org 
> >>> files
> >>> and everything. 
> >> [...] 
> >>> I’ve also read about org-sync and magit (git is an option for 
> >>> me).
> >>> And now I’m starting the get confused.
> >>
> >> magit is just the emacs mode for git, if you don't have it and 
> >> use git
> >> you should really install it. But it does not sync anything you 
> >> still
> >> have to M-x magit <enter> F F and M-x magit <enter> P P, for 
> >> pull and
> >> push.
> >>
> >> I have several computers and synchronize my org files with 
> >> git. I
> >> think it is the best option because I do not have to worry 
> >> about the
> >> sync not working (for example when I do not have a connection) 
> >> and
> >> conflicts in the files.
> >
> > I do this, too. I don't think Magit helps much, in fact I'd be 
> > better
> > off writing functions for `emacs-startup-hook' and 
> > `kill-emacs-hook'
> > that do my pushes and pulls for me.
> >
> > But for now, I just try to remember to commit and push before I 
> > leave a
> > machine.
> >
> > This way, you also really learn to appreciate using "git fetch" 
> > and "git
> > status", rather than doing a blind "git pull".
> >
> > Eric
> >
> >
> >
> 
> -- 
> Tory S. Anderson
> Computational Cognitive Narratologist
> http://toryanderson.com
> 
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 3258 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 13:59 Favorite way of syncing? Tobias Frischholz
                   ` (3 preceding siblings ...)
  2015-09-11 15:18 ` Eric S Fraga
@ 2015-09-11 16:42 ` Ramon Diaz-Uriarte
  2015-09-11 20:47   ` Eric S Fraga
  2015-09-11 22:05 ` Myles English
  2015-09-12  5:18 ` Erik Hetzner
  6 siblings, 1 reply; 20+ messages in thread
From: Ramon Diaz-Uriarte @ 2015-09-11 16:42 UTC (permalink / raw)
  To: Tobias Frischholz; +Cc: Org Mode Mailing List




On Fri, 11-09-2015, at 15:59, Tobias Frischholz <tobias@friolz.com> wrote:
> Hey there!
>
> I was wondering what is your favorite way of syncing your org files and
> everything.  I’ve checked out unison, but I want more of an automated
> system that synchronizes my two clients via an SSH server.
>

I use syncthing (https://syncthing.net/) which, admittedly, does not
require a server nor uses SSH :-). I keep four computers in sync this way,
and also use it to send/receive the org files (with MobileOrg) to/from
android devices. It is as automatic as I can think of. Once set up, I have
to do nothing and it just works.


If you are familiar with BTsync you can think of syncthing as somewhat
similar (but much better, and free software).


It is possible to enable a rudimentary form of version control with
syncthing itself, but I don't (the files change too often). Instead, one of
the computers (which should always be on) is also running Seafile
(https://www.seafile.com/en/home/), which actually I think uses git as a
backend, so I can recover disasters.


Syncthing provides conflict detection. It is not git, but it is enough for
me with org files (I rarely edit in two or machines at the same time, and
the last machine where I make a change is often connected before I work on
another so I do not often have a chance for conflict). 


[In the past, I used dropbox ---instead of syncthing, though syncthing is
not exactly a one-to-one replacement---, and nightly cron jobs that
committed the org directory in one of the machines to a bzr repo ---instead
of the seafile part--- for disaster recovery.]


> So far, I’ve also read that people use TRAMP in conjunction with an SSH Server (and work exclusively on this SSH server).
> I’ve also read about org-sync and magit (git is an option for me).
> And now I’m starting the get confused.
>

I use magit and git for version control but I do not find formal version
control very useful with my org files. I like to be able to finish
something, stop the timer on the laptop, and a second later put it to
hibernate and leave my house/office, without the need for a commit and
push, and knowing that all of that has been synced to all the other
machines that are on and connected. I know, though, that other people feel
differently.


Best,


R.






> Any helpful thoughts would be greatly appreciated!
>
> Best regards,
> Tobias Frischholz
>
> PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?search=0xCD463AC1&op=index

-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdiaz02@gmail.com
       ramon.diaz@iib.uam.es

http://ligarto.org/rdiaz

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 16:42 ` Ramon Diaz-Uriarte
@ 2015-09-11 20:47   ` Eric S Fraga
  2015-09-13  7:07     ` Paul Rudin
  0 siblings, 1 reply; 20+ messages in thread
From: Eric S Fraga @ 2015-09-11 20:47 UTC (permalink / raw)
  To: Ramon Diaz-Uriarte; +Cc: Org Mode Mailing List, Tobias Frischholz

On Friday, 11 Sep 2015 at 18:42, Ramon Diaz-Uriarte wrote:

[...]

> I use syncthing (https://syncthing.net/) which, admittedly, does not
> require a server nor uses SSH :-). I keep four computers in sync this way,
> and also use it to send/receive the org files (with MobileOrg) to/from

Thanks for the heads up on this.  The only thing I use Dropbox for is
MobileOrg and I would love to avoid using a proprietary *and* closed
system, especially as some of the content is sensitive.  Off to read the
web site...  :-)

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-234-g8c85c9

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 13:59 Favorite way of syncing? Tobias Frischholz
                   ` (4 preceding siblings ...)
  2015-09-11 16:42 ` Ramon Diaz-Uriarte
@ 2015-09-11 22:05 ` Myles English
  2015-09-11 22:51   ` Kyle Meyer
  2015-09-12  1:24   ` Eric Abrahamsen
  2015-09-12  5:18 ` Erik Hetzner
  6 siblings, 2 replies; 20+ messages in thread
From: Myles English @ 2015-09-11 22:05 UTC (permalink / raw)
  To: Tobias Frischholz; +Cc: Org Mode Mailing List


Hi Tobias,

Tobias Frischholz writes:

> I was wondering what is your favorite way of syncing your org files and everything.

For org files I use git combined with myrepos and it has been working
very well for me for several years.  For dotfiles I recently discovered
vcsh, also synced via myrepos.  It too is working nicely so far.

When I leave one computer I type 'mr update' and everything syncs to a
server running gitolite that manages bare repos.  When I get to another
computer I type 'mr update' to sync it again.

It is quite complicated but does the job.

https://myrepos.branchable.com
https://github.com/RichiH/vcsh
http://gitolite.com/gitolite/index.html

Myles

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 22:05 ` Myles English
@ 2015-09-11 22:51   ` Kyle Meyer
  2015-09-12  1:24   ` Eric Abrahamsen
  1 sibling, 0 replies; 20+ messages in thread
From: Kyle Meyer @ 2015-09-11 22:51 UTC (permalink / raw)
  To: Myles English; +Cc: Org Mode Mailing List, Tobias Frischholz

Myles English <mylesenglish@gmail.com> writes:

>> I was wondering what is your favorite way of syncing your org files
>> and everything.
>
> For org files I use git combined with myrepos and it has been working
> very well for me for several years.  For dotfiles I recently discovered
> vcsh, also synced via myrepos.  It too is working nicely so far.
>
> When I leave one computer I type 'mr update' and everything syncs to a
> server running gitolite that manages bare repos.  When I get to another
> computer I type 'mr update' to sync it again.

I'd also recommend trying myrepos and wanted to add that you can avoid
using a bare repo by syncing with git annex [1].  This works regardless
of whether you decide to check your changes into git annex (which tracks
versions of a file and where it exists but not the actual content) or
track the content as usual with git.  I don't do this for my Org files
(like Myles, I use plain git and a central bare repo), but I use git
annex for other files whose content I don't want to track with git.

[1] Also by Joey Hess, the author of myrepos.
    https://git-annex.branchable.com/

--
Kyle

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
       [not found]     ` <34AA198A-5C08-4FDD-8D12-5241E44A0B9D@friolz.com>
@ 2015-09-12  1:15       ` Eric Abrahamsen
  0 siblings, 0 replies; 20+ messages in thread
From: Eric Abrahamsen @ 2015-09-12  1:15 UTC (permalink / raw)
  To: emacs-orgmode


On 09/11/15 20:59 PM, Tobias Frischholz wrote:
>> I do this, too. I don't think Magit helps much, in fact I'd be better
>> off writing functions for `emacs-startup-hook' and `kill-emacs-hook'
>> that do my pushes and pulls for me.
>
> Those hooks sound very interesting to mean. Has anyone on this list information in programming those?

The only thing I can think of that might be worth noting is that
`kill-emacs-hook' is meant for non-interactive hooks. If you want your
hook to query the user, you're supposed to use
`kill-emacs-query-functions' instead.

Eric

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 22:05 ` Myles English
  2015-09-11 22:51   ` Kyle Meyer
@ 2015-09-12  1:24   ` Eric Abrahamsen
  2015-09-14  9:34     ` Myles English
  1 sibling, 1 reply; 20+ messages in thread
From: Eric Abrahamsen @ 2015-09-12  1:24 UTC (permalink / raw)
  To: emacs-orgmode

Myles English <mylesenglish@gmail.com> writes:

> Hi Tobias,
>
> Tobias Frischholz writes:
>
>> I was wondering what is your favorite way of syncing your org files and everything.
>
> For org files I use git combined with myrepos and it has been working
> very well for me for several years.  For dotfiles I recently discovered
> vcsh, also synced via myrepos.  It too is working nicely so far.
>
> When I leave one computer I type 'mr update' and everything syncs to a
> server running gitolite that manages bare repos.  When I get to another
> computer I type 'mr update' to sync it again.
>
> It is quite complicated but does the job.
>
> https://myrepos.branchable.com
> https://github.com/RichiH/vcsh
> http://gitolite.com/gitolite/index.html

Uh oh, I might have to start playing with this! Though there's something
nice about the morning ritual of going through a bunch of repos and
updating them.

For doing version control of dotfiles or other collections of
non-interrelated single files, I've been curious about (but haven't yet
tried) ESR's src:

http://www.catb.org/~esr/src/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 13:59 Favorite way of syncing? Tobias Frischholz
                   ` (5 preceding siblings ...)
  2015-09-11 22:05 ` Myles English
@ 2015-09-12  5:18 ` Erik Hetzner
  2015-09-12 13:31   ` Rasmus
  6 siblings, 1 reply; 20+ messages in thread
From: Erik Hetzner @ 2015-09-12  5:18 UTC (permalink / raw)
  To: Tobias Frischholz; +Cc: Org Mode Mailing List

Hi Tobias,

On Fri, 11 Sep 2015 06:59:31 -0700,
Tobias Frischholz <tobias@friolz.com> wrote:
> 
> Hey there!
> 
> I was wondering what is your favorite way of syncing your org files and everything.
> I’ve checked out unison, but I want more of an automated system that synchronizes my two clients via an SSH server.

> […]

I finally settled on the following (although syncthing looks
promising):

1. git for my 2 org dirs (for home & work)

2. git-annex to manage attachments (I have a local patch to
automatically get annex files from a repo when opening, but haven’t
submitted it yet)

3. git-auto-commit-mode with the following setup:

  ;; auto-commit to git if the file is in one of my notes repos
  (defun egh:maybe-git-auto-commit-mode ()
    (let* ((bfn (buffer-file-name))
           (root (and bfn (vc-git-root (buffer-file-name))))
           (full-root (and root (expand-file-name root))))
      (if (or (string-equal full-root "/home/egh/c/notes/h/")
              (string-equal full-root "/home/egh/c/notes/w/"))
          (git-auto-commit-mode +1))))

  (add-hook 'org-mode-hook #'egh:maybe-git-auto-commit-mode)
  (setq-default gac-automatically-push-p t)

4. A simple script called morning to sync it up:
Hope that helps!

  #!/bin/sh
  cd ~/c/notes/h
  git pull origin master
  git annex copy --fast --to=cloud
  git annex sync

best, Erik
--
Sent from my free software system <http://fsf.org/>.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-12  5:18 ` Erik Hetzner
@ 2015-09-12 13:31   ` Rasmus
  0 siblings, 0 replies; 20+ messages in thread
From: Rasmus @ 2015-09-12 13:31 UTC (permalink / raw)
  To: emacs-orgmode

Erik Hetzner <egh@e6h.org> writes:

> 3. git-auto-commit-mode with the following setup:

AFAIK, You could probably also use git-annex-assistant for this (with
"normal" git as well as "annex").  It's starting to get to a level where
I'm only a bit hesitant to recommend it...

Rasmus

-- 
Tack, ni svenska vakttorn. Med plutonium tvingar vi dansken på knä!

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-11 20:47   ` Eric S Fraga
@ 2015-09-13  7:07     ` Paul Rudin
  2015-09-13 19:18       ` Ramon Diaz-Uriarte
  0 siblings, 1 reply; 20+ messages in thread
From: Paul Rudin @ 2015-09-13  7:07 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Eric S Fraga <e.fraga-hclig2XLE9Zaa/9Udqfwiw@public.gmane.org> writes:

> On Friday, 11 Sep 2015 at 18:42, Ramon Diaz-Uriarte wrote:
>
> [...]
>
>> I use syncthing (https://syncthing.net/) which, admittedly, does not
>> require a server nor uses SSH :-). I keep four computers in sync this way,
>> and also use it to send/receive the org files (with MobileOrg) to/from
>
> Thanks for the heads up on this.  The only thing I use Dropbox for is
> MobileOrg and I would love to avoid using a proprietary *and* closed
> system, especially as some of the content is sensitive.

If the content is sensitive you can either encrypt the data yourself
before it goes to Dropbox (see e.g. ecryptfs) or use a service that does
this as part of its process (see e.g. spideroak).

Not that I have anything against doing thing other ways - I'm just
pointing out that privacy concerns don't, of themselves, mean you can't
use Dropbox (or similar).

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-13  7:07     ` Paul Rudin
@ 2015-09-13 19:18       ` Ramon Diaz-Uriarte
  0 siblings, 0 replies; 20+ messages in thread
From: Ramon Diaz-Uriarte @ 2015-09-13 19:18 UTC (permalink / raw)
  To: Paul Rudin; +Cc: emacs-orgmode




On Sun, 13-09-2015, at 09:07, Paul Rudin <paul@rudin.co.uk> wrote:
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> On Friday, 11 Sep 2015 at 18:42, Ramon Diaz-Uriarte wrote:
>>
>> [...]
>>
>>> I use syncthing (https://syncthing.net/) which, admittedly, does not
>>> require a server nor uses SSH :-). I keep four computers in sync this way,
>>> and also use it to send/receive the org files (with MobileOrg) to/from
>>
>> Thanks for the heads up on this.  The only thing I use Dropbox for is
>> MobileOrg and I would love to avoid using a proprietary *and* closed
>> system, especially as some of the content is sensitive.
>
> If the content is sensitive you can either encrypt the data yourself
> before it goes to Dropbox (see e.g. ecryptfs) or use a service that does
> this as part of its process (see e.g. spideroak).
>
> Not that I have anything against doing thing other ways - I'm just
> pointing out that privacy concerns don't, of themselves, mean you can't
> use Dropbox (or similar).


Sure, you are correct. However, if there are Android devices in the mix,
encrypting locally before sending to Dropbox becomes inconvenient (or at
least too inconvenient for me). I am not sure about spideroak's support for
android, and I recall having experienced problems (I no longer remember the
details) with Wuala.



Best,

R.


-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdiaz02@gmail.com
       ramon.diaz@iib.uam.es

http://ligarto.org/rdiaz

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-12  1:24   ` Eric Abrahamsen
@ 2015-09-14  9:34     ` Myles English
  2015-09-15  2:07       ` Eric Abrahamsen
  0 siblings, 1 reply; 20+ messages in thread
From: Myles English @ 2015-09-14  9:34 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-orgmode


Eric,

Eric Abrahamsen writes:

> Myles English <mylesenglish@gmail.com> writes:
>
>> https://myrepos.branchable.com
>> https://github.com/RichiH/vcsh
>> http://gitolite.com/gitolite/index.html
>
> Uh oh, I might have to start playing with this! Though there's something
> nice about the morning ritual of going through a bunch of repos and
> updating them.
>
> For doing version control of dotfiles or other collections of
> non-interrelated single files, I've been curious about (but haven't yet
> tried) ESR's src:
>
> http://www.catb.org/~esr/src/

Probably worth mentioning this alternative to vcsh:

https://github.com/capr/multigit

The only reason I chose vcsh is because it is more popular and I am a
bit a sheep.

Myles

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Favorite way of syncing?
  2015-09-14  9:34     ` Myles English
@ 2015-09-15  2:07       ` Eric Abrahamsen
  0 siblings, 0 replies; 20+ messages in thread
From: Eric Abrahamsen @ 2015-09-15  2:07 UTC (permalink / raw)
  To: emacs-orgmode

Myles English <mylesenglish@gmail.com> writes:

> Eric,
>
> Eric Abrahamsen writes:
>
>> Myles English <mylesenglish@gmail.com> writes:
>>
>>> https://myrepos.branchable.com
>>> https://github.com/RichiH/vcsh
>>> http://gitolite.com/gitolite/index.html
>>
>> Uh oh, I might have to start playing with this! Though there's something
>> nice about the morning ritual of going through a bunch of repos and
>> updating them.
>>
>> For doing version control of dotfiles or other collections of
>> non-interrelated single files, I've been curious about (but haven't yet
>> tried) ESR's src:
>>
>> http://www.catb.org/~esr/src/
>
> Probably worth mentioning this alternative to vcsh:
>
> https://github.com/capr/multigit
>
> The only reason I chose vcsh is because it is more popular and I am a
> bit a sheep.

Thanks :)

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-09-15  2:07 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-11 13:59 Favorite way of syncing? Tobias Frischholz
2015-09-11 14:27 ` Alan Schmitt
2015-09-11 14:47 ` Jorge A. Alfaro-Murillo
2015-09-11 15:18   ` Eric Abrahamsen
2015-09-11 15:25     ` Tory S. Anderson
2015-09-11 15:48       ` Joon Ro
     [not found]     ` <34AA198A-5C08-4FDD-8D12-5241E44A0B9D@friolz.com>
2015-09-12  1:15       ` Eric Abrahamsen
2015-09-11 15:13 ` Paul Rudin
2015-09-11 15:18 ` Eric S Fraga
2015-09-11 16:42 ` Ramon Diaz-Uriarte
2015-09-11 20:47   ` Eric S Fraga
2015-09-13  7:07     ` Paul Rudin
2015-09-13 19:18       ` Ramon Diaz-Uriarte
2015-09-11 22:05 ` Myles English
2015-09-11 22:51   ` Kyle Meyer
2015-09-12  1:24   ` Eric Abrahamsen
2015-09-14  9:34     ` Myles English
2015-09-15  2:07       ` Eric Abrahamsen
2015-09-12  5:18 ` Erik Hetzner
2015-09-12 13:31   ` Rasmus

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.