From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: [Feature request] org-backup Date: Mon, 14 Feb 2011 15:26:45 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=54283 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pp5wW-0002xI-Dc for emacs-orgmode@gnu.org; Mon, 14 Feb 2011 16:26:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pp5wU-00068D-LU for emacs-orgmode@gnu.org; Mon, 14 Feb 2011 16:26:47 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:63777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pp5wU-000681-GC for emacs-orgmode@gnu.org; Mon, 14 Feb 2011 16:26:46 -0500 Received: by iwc10 with SMTP id 10so5762534iwc.0 for ; Mon, 14 Feb 2011 13:26:45 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: Org Mode 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 wrote: > 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 repo doesn't have to be limited to a single directory. You could > have a git repo in your home directory, and git add org files, wherever > they may be located using a command something like > find . -type f -name '*.org' -exec git add '{}' \; > > You could use symlinks where posible, so that your org files are all in > one directory, and project directories contain symlinks to those org > files. > > Dan > >> >> Marcelo. >> >> On Sun, Feb 13, 2011 at 3:49 PM, Dan Davison wrote: >>> 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 if we had a org-backup function that would fetch all >>>> files from the agenda + linked files and create a compressed backup of >>>> them. What do you think? >>> >>> Hi Marcelo, >>> >>> I think backing up text files is a job for other tools; not emacs. I'd >>> recommend using a version control tool such as git for this. >>> >>> Dan >>> >>>> >>>> Cheers, >>>> >>>> Marcelo. >>>> >>>> _______________________________________________ >>>> Emacs-orgmode mailing list >>>> Please use `Reply All' to send replies to the list. >>>> Emacs-orgmode@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >