Profile
Achievement
mattkenefick's Recent SnippetsTagged find
- All /
« Prev 1 Next »
find . | xargs grep 'string' -sl
The -s is for summary and won't display warning messages such as grep: ./directory-name: Is a directory
The -l is for list, so we get just the filename and not all instances of the match displayed in the results...
2
1058
posted 15 years ago by mattkenefick