Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 5 lines (4 sloc) 191 Bytes
#!/usr/bin/env bash
#Find Text in files
echo "Searching for files containing the text '$1' in current dir and all sub-dirs"
find . -type f -not -iwholename '*.git*' -exec grep -il "$1" {} \;
You can’t perform that action at this time.