Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: suvayu ali <fatkasuvayu+linux <at> gmail.com>
Subject: Re: Re: [Feature request] org-backup
Newsgroups: gmane.emacs.orgmode
Date: Monday 14th February 2011 00:45:15 UTC (over 6 years ago)
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.

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
CD: 4ms