From: Rasmus Villemoes <burner+usenet@imf.au.dk>
To: help-gnu-emacs@gnu.org
Subject: Re: Removing backup files corresponding to no longer existing files
Date: Mon, 09 May 2011 17:49:53 -0400 [thread overview]
Message-ID: <u0lvcxjo872.fsf@orc05.imf.au.dk> (raw)
In-Reply-To: 87hb95rzh4.fsf@kuiper.lan.informatimago.com
"Pascal J. Bourguignon" <pjb@informatimago.com> writes:
> I have:
>
> -----(clean-old-versions)-----------------------------------------------
Thanks! I'll steal a couple of ideas from that script (but I need to
add a little extra: if a backup file corresponds to a file on a remote
file system, the file should be assumed to exist if the file system is
not currently mounted)
> Indeed, it wouldn't be too hard to write it in emacs lisp either.
> The question would be when to run it?
Yes, I also thought a bit about that. But as long as emacs doesn't
keep a database of backup files, it's pretty safe to just delete them
using an auxilliary script as the one you provided, and running it
manually from time to time is good enough for me.
--
Rasmus Villemoes
<http://rasmusvillemoes.dk/>
next prev parent reply other threads:[~2011-05-09 21:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-08 7:39 Removing backup files corresponding to no longer existing files Rasmus Villemoes
2011-05-08 15:20 ` Pascal J. Bourguignon
2011-05-09 21:49 ` Rasmus Villemoes [this message]
2011-05-24 20:35 ` Deniz Dogan
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u0lvcxjo872.fsf@orc05.imf.au.dk \
--to=burner+usenet@imf.au.dk \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.