emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: [Feature request] org-backup


From: suvayu ali
Subject: Re: [Orgmode] Re: [Feature request] org-backup
Date: Sun, 13 Feb 2011 16:45:15 -0800

On Sun, Feb 13, 2011 at 3:13 PM, Marcelo de Moraes Serpa
<address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]