From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Re: [Feature request] org-backup Date: Sun, 13 Feb 2011 16:45:15 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=37189 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PomZO-0007re-LT for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 19:45:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PomZN-0006ia-IW for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 19:45:38 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:35076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PomZN-0006iC-Bx for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 19:45:37 -0500 Received: by bwz16 with SMTP id 16so4963249bwz.0 for ; Sun, 13 Feb 2011 16:45:36 -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: Marcelo de Moraes Serpa Cc: Org Mode 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 looking for? mkdir -p ~/org/backup && \ find $HOME -type f -name '*\.org' ! -path "$HOME/org/*" \ -exec cp -t ~/org/backup/ \{\} \; -- Suvayu Open source is the future. It sets us free.