all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus Villemoes <burner+usenet@imf.au.dk>
To: help-gnu-emacs@gnu.org
Subject: Removing backup files corresponding to no longer existing files
Date: Sun, 08 May 2011 03:39:53 -0400	[thread overview]
Message-ID: <u0lmxix8wty.fsf@orc05.imf.au.dk> (raw)

Hi,

I use a couple of separate directories to store emacs backup files
(using backup-directory-alist). But this means that if I decide to
delete or move some project (which is in its own direcory), just
deleting or moving the directory leaves all the backup copies
behind. They will then stay in the backup directories forever.

Is there a way to tell emacs to remove backup files which no longer
correspond to an actual file?

It's probably not very difficult to write a little (shell/perl) script
to do this, but I was wondering if there is some builtin way which
I've overlooked.

Emacs 23.1.1 on Ubuntu 10.10, if it matters.

Thanks in advance,
Rasmus


             reply	other threads:[~2011-05-08  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-08  7:39 Rasmus Villemoes [this message]
2011-05-08 15:20 ` Removing backup files corresponding to no longer existing files Pascal J. Bourguignon
2011-05-09 21:49   ` Rasmus Villemoes
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=u0lmxix8wty.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.