Ah! This would do I think :) Thanks!

Marcelo.

On Sun, Feb 13, 2011 at 6:45 PM, suvayu ali <fatkasuvayu+li...@gmail.com> wrote:
> On Sun, Feb 13, 2011 at 3:13 PM, Marcelo de Moraes Serpa
> <celose...@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.
>

_______________________________________________
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

Reply via email to