Using emacs and tired of all those
*~ files ? One quick and dirty solution is the classic
find . -name \*~ -delete but there is a better way, those files can actually save you hours of work in case something bad happens.
Add this to your
~/.emacs or whatever configuration file you use:
backup-directory-alist '(("." . "~/.saves"))
Now all those
~ files will be kept inside
~/.saves and versioned.