From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Re: [Feature request] org-backup
Date: Sun, 13 Feb 2011 19:06:10 -0600 [thread overview]
Message-ID: <AANLkTinBOOMaZvYXBwWLSicxEmSFfLx4V=anwxwbcjqX@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimemfOeZFYajbpeW09OOJ87CVo-cTnarK-E=c3h@mail.gmail.com>
Ah! This would do I think :) Thanks!
Marcelo.
On Sun, Feb 13, 2011 at 6:45 PM, suvayu ali <fatkasuvayu+linux@gmail.com> wrote:
> On Sun, Feb 13, 2011 at 3:13 PM, Marcelo de Moraes Serpa
> <celoserpa@gmail.com> 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.
>
next prev parent reply other threads:[~2011-02-14 1:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-13 21:34 [Feature request] org-backup Marcelo de Moraes Serpa
2011-02-13 21:49 ` Dan Davison
2011-02-13 23:13 ` Marcelo de Moraes Serpa
2011-02-13 23:14 ` Marcelo de Moraes Serpa
2011-02-14 0:03 ` Bastien
2011-02-21 7:04 ` Eric S Fraga
2011-02-14 0:45 ` suvayu ali
2011-02-14 1:06 ` Marcelo de Moraes Serpa [this message]
2011-02-14 9:06 ` Bastien
2011-02-14 9:16 ` Suvayu Ali
2011-02-14 21:06 ` Bastien
2011-02-14 12:38 ` Dan Davison
2011-02-14 21:26 ` Marcelo de Moraes Serpa
2011-02-14 22:56 ` Dan Davison
2011-02-15 16:44 ` Marcelo de Moraes Serpa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTinBOOMaZvYXBwWLSicxEmSFfLx4V=anwxwbcjqX@mail.gmail.com' \
--to=celoserpa@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).