find . -type f \( -name "*~" -o -name "#*#" \) -delete

