Skip to content

Instantly share code, notes, and snippets.

@mainiak
Created February 28, 2013 13:48
Show Gist options
  • Save mainiak/5056835 to your computer and use it in GitHub Desktop.
Save mainiak/5056835 to your computer and use it in GitHub Desktop.
remove tempory files afer vim editing
#!/bin/sh
find "$(pwd -P)" -type f \( -name "*~" -o -name ".*~" \) -exec rm -vf {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment