From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Re: [Feature request] org-backup Date: Sun, 13 Feb 2011 19:06:10 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50433 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PomtI-0001RO-78 for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 20:06:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PomtH-0002V3-AS for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 20:06:12 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:47742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PomtH-0002Ux-3l for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 20:06:11 -0500 Received: by iwc10 with SMTP id 10so4737933iwc.0 for ; Sun, 13 Feb 2011 17:06:10 -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: suvayu ali Cc: Org Mode Ah! This would do I think :) Thanks! Marcelo. On Sun, Feb 13, 2011 at 6:45 PM, suvayu ali w= rote: > 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 *nix, then maybe something like this is what you are lookin= g for? > > mkdir -p ~/org/backup && \ > find $HOME -type f -name '*\.org' ! -path "$HOME/org/*" \ > =A0 =A0 -exec cp -t ~/org/backup/ \{\} \; > > -- > Suvayu > > Open source is the future. It sets us free. >