Matt's Tech HOWTO's
Matt Feenstra is an Architect and Developer, living and working in Palm Desert, CA
Wednesday, July 13, 2016
Super handy tool: findwgrep.sh (find with grep)
#!/bin/bash
# findwgrep <word>
# Search through the files from here (./) onward for a word
find ./ -type f -exec grep -Hi "$1" {} 2>>/dev/null \;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment