Last active
December 3, 2020 20:39
-
-
Save aspen-roller/dbb288eaaaf56b7620cae32a1c18b5d4 to your computer and use it in GitHub Desktop.
hunt for files with grep #util
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
hunt() { | |
find ./ -type f -regex "$1" -exec grep -Hn "$2" /dev/null {} + | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment