Re: [Orgmode] Re: [Feature request] org-backup

2011-02-21 Thread Eric S Fraga
Bastien writes: > Marcelo de Moraes Serpa writes: > >> Anyway, doesn't seem it's something hard to do, so I might as well >> just try getting something implemented, could be a good exercise in >> elisp. > > :) > > Let us know how it goes. > > PS: I'm with Dan on this. For backing up directories

[Orgmode] Re: [Feature request] org-backup

2011-02-15 Thread Marcelo de Moraes Serpa
Ah, yeah, subdirs. I had misunderstood you. Cheers, Marcelo. On Mon, Feb 14, 2011 at 4:56 PM, Dan Davison wrote: > Marcelo de Moraes Serpa writes: > >> Hi Dan, >> >> I don't think I understood -- AFAIK, git repos are per directory and I >> can't add something from another directory to it ? > >

[Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Dan Davison
Marcelo de Moraes Serpa writes: > Hi Dan, > > I don't think I understood -- AFAIK, git repos are per directory and I > can't add something from another directory to it ? Hi Marcelo, Let's say the "base directory" of a git repo is the one in which you issued "git init" and which contains a hidde

[Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Marcelo de Moraes Serpa
Hi Dan, I don't think I understood -- AFAIK, git repos are per directory and I can't add something from another directory to it ? Symlinking could be a possibility, like keeping everything inside ~/org and symlink to another dirs. Cheers, Marcelo. On Mon, Feb 14, 2011 at 6:38 AM, Dan Davison

Re: [Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Bastien
Hi Suvayu, Suvayu Ali writes: > Thanks Bastien! I am glad that you thought its worth a mention on the > FAQ. :) The topic of backing up org files comes quite often on the list, I'm glad we can give some concrete directions! -- Bastien ___ Emacs-or

[Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Dan Davison
Marcelo de Moraes Serpa writes: > Hi Dan! > > I already do this, but sometimes the files are spread around *many* > directories. I.e, the model of having everything in a > version-controlled directory is unpractical, so that's why I think it > would be useful. A couple of possibilities: A git r

Re: [Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Suvayu Ali
On Mon, 14 Feb 2011 10:06:51 +0100 Bastien wrote: > Hi Suvayu, > > suvayu ali writes: > > > If you are on *nix, then maybe something like this is what you are > > looking for? > > > > mkdir -p ~/org/backup && \ > > find $HOME -type f -name '*\.org' ! -path "$HOME/org/*" \ > > -exec cp -t

Re: [Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Bastien
Hi Suvayu, suvayu ali writes: > If you are on *nix, then maybe something like this is what you are looking > for? > > mkdir -p ~/org/backup && \ > find $HOME -type f -name '*\.org' ! -path "$HOME/org/*" \ > -exec cp -t ~/org/backup/ \{\} \; I created a "Backup" section on Worg's FAQ and m

Re: [Orgmode] Re: [Feature request] org-backup

2011-02-13 Thread Marcelo de Moraes Serpa
Ah! This would do I think :) Thanks! Marcelo. On Sun, Feb 13, 2011 at 6:45 PM, suvayu ali wrote: > On Sun, Feb 13, 2011 at 3:13 PM, Marcelo de Moraes Serpa > wrote: >> I already do this, but sometimes the files are spread around *many* >> directories. I.e, the model of having everything in a >>

Re: [Orgmode] Re: [Feature request] org-backup

2011-02-13 Thread suvayu ali
On Sun, Feb 13, 2011 at 3:13 PM, Marcelo de Moraes Serpa wrote: > I already do this, but sometimes the files are spread around *many* > directories. I.e, the model of having everything in a > version-controlled directory is unpractical, so that's why I think it > would be useful. If you are on *n

Re: [Orgmode] Re: [Feature request] org-backup

2011-02-13 Thread Bastien
Marcelo de Moraes Serpa writes: > Anyway, doesn't seem it's something hard to do, so I might as well > just try getting something implemented, could be a good exercise in > elisp. :) Let us know how it goes. PS: I'm with Dan on this. For backing up directories, I use git repo. For backing up

[Orgmode] Re: [Feature request] org-backup

2011-02-13 Thread Marcelo de Moraes Serpa
Anyway, doesn't seem it's something hard to do, so I might as well just try getting something implemented, could be a good exercise in elisp. On Sun, Feb 13, 2011 at 5:13 PM, Marcelo de Moraes Serpa wrote: > Hi Dan! > > I already do this, but sometimes the files are spread around *many* > directo

[Orgmode] Re: [Feature request] org-backup

2011-02-13 Thread Marcelo de Moraes Serpa
Hi Dan! I already do this, but sometimes the files are spread around *many* directories. I.e, the model of having everything in a version-controlled directory is unpractical, so that's why I think it would be useful. Marcelo. On Sun, Feb 13, 2011 at 3:49 PM, Dan Davison wrote: > Marcelo de Mora

[Orgmode] Re: [Feature request] org-backup

2011-02-13 Thread Dan Davison
Marcelo de Moraes Serpa writes: > Hi list, > > Although I try to keep all my org files inside a ~/org directory, I > often find myself creating org files outside of this directory > context, for example, as a bucket for a new project I'm working on, to > keep notes, todos, etc. > > It'd be nice i