emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <dandavison7@gmail.com>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [Feature request] org-backup
Date: Mon, 14 Feb 2011 12:38:38 +0000	[thread overview]
Message-ID: <m1k4h2n641.fsf@94.196.56.147.threembb.co.uk> (raw)
In-Reply-To: <AANLkTin3dRFLh9nT6U9iLRpq+JP8hwg84YCfnafvDhaP@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Sun, 13 Feb 2011 17:13:58 -0600")

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> Hi Dan!
>
> 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.

A couple of possibilities:

A git repo doesn't have to be limited to a single directory. You could
have a git repo in your home directory, and git add org files, wherever
they may be located using a command something like
find . -type f -name '*.org' -exec git add '{}' \;

You could use symlinks where posible, so that your org files are all in
one directory, and project directories contain symlinks to those org
files.

Dan

>
> Marcelo.
>
> On Sun, Feb 13, 2011 at 3:49 PM, Dan Davison <dandavison7@gmail.com> wrote:
>> Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
>>
>>> Hi list,
>>>
>>> Although I try to keep all my org files inside a ~/org directory, I
>>> often find myself creating org files outside of this directory
>>> context, for example, as a bucket for a new project I'm working on, to
>>> keep notes, todos, etc.
>>>
>>> It'd be nice if we had a org-backup function that would fetch all
>>> files from the agenda + linked files and create a compressed backup of
>>> them. What do you think?
>>
>> Hi Marcelo,
>>
>> I think backing up text files is a job for other tools; not emacs. I'd
>> recommend using a version control tool such as git for this.
>>
>> Dan
>>
>>>
>>> Cheers,
>>>
>>> Marcelo.
>>>
>>> _______________________________________________
>>> 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
>>
>
> _______________________________________________
> 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

  parent reply	other threads:[~2011-02-14 12:38 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
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 [this message]
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=m1k4h2n641.fsf@94.196.56.147.threembb.co.uk \
    --to=dandavison7@gmail.com \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).