A handy shell script...

My first exposure to Unix was in Fall 1988 when I started working at the Ryerson Computer Lab at the University of Chicago.

Since then lots of things have change and one thing has remained constant...I use text editors all the time on Unix systems and text editors create what occurs to me like tons of backup and temporary files.

Years ago I created a handy little script to clean these files up.

#! /bin/sh
# remove backup files created by emacs, pine, etc.
# removes all files at the current directory or below.
find . -name "*~" -exec rm -v {} ';'
find . -name ".*~" -exec rm -v {} ';'
find . -name "#*#" -exec rm -v {} ';'

Enjoy.