Skip to content

Instantly share code, notes, and snippets.

@timlnx
Created December 9, 2009 08:21
Show Gist options
  • Select an option

  • Save timlnx/252344 to your computer and use it in GitHub Desktop.

Select an option

Save timlnx/252344 to your computer and use it in GitHub Desktop.
#!/usr/bin/make
clean:
find -regextype posix-extended . -maxdepth 1 \( -regex "^[.]?(.+)\~$$" -o -regex "./[.]?#.*#" \) -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment