all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Removing backup files corresponding to no longer existing files
@ 2011-05-08  7:39 Rasmus Villemoes
  2011-05-08 15:20 ` Pascal J. Bourguignon
  2011-05-24 20:35 ` Deniz Dogan
  0 siblings, 2 replies; 4+ messages in thread
From: Rasmus Villemoes @ 2011-05-08  7:39 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-24 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-05-24 20:35 ` Deniz Dogan

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.