Created
December 18, 2013 18:43
-
-
Save gubatron/8027555 to your computer and use it in GitHub Desktop.
put this on your .bash_profile/.bashrc or a script included by those. emacs leaves backup files you might need (that's why i don't turn it off in emacs), once you know you can get rid of them, invoke rmTildes and it will delete recursively.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function rmTildes { | |
| find . | grep -e "~$" | xargs rm | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment