#!/bin/sh
echo "deleting files:"
find . | grep \~ 
find . | grep \.bak 
find . | grep \.BAK 
find . | grep \.Untitled
find . -name core*
echo "press <enter> to continue"
read 
find . | grep \~ | xargs rm -f
find . | grep \.bak | xargs rm -f
find . | grep \.BAK | xargs rm -f
find . | grep \.Untitled | xargs rm -f
find . -name core* | xargs rm -f
