Created
September 7, 2019 06:56
-
-
Save B3nnyL/fb10abb1f5c1729c2524fa705f6ea531 to your computer and use it in GitHub Desktop.
Quickly find files that contain a string in a directory
This file contains 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
# qfind - used to quickly find files that contain a string in a directory | |
qfind () { | |
find . -exec grep -l -s $1 {} \; | |
return 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment