Skip to content

Instantly share code, notes, and snippets.

@gubatron
Created December 18, 2013 18:43
Show Gist options
  • Select an option

  • Save gubatron/8027555 to your computer and use it in GitHub Desktop.

Select an option

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.
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