Skip to content

Instantly share code, notes, and snippets.

@fumin
Last active October 13, 2015 02:18
Show Gist options
  • Save fumin/4123882 to your computer and use it in GitHub Desktop.
Save fumin/4123882 to your computer and use it in GitHub Desktop.
find code for use with vim
#!/bin/bash
cd `pwd`
find . ! \( -name ".git" -prune -o -name tmp -prune -o -name log -prune \) -type f -exec grep "$@" {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment