...
Code Block | ||
---|---|---|
| ||
find [folder] -type f | xargs -I {} grep -li "text" {} find [folder] -type f { # search the specified folder for all files, returns full path of each file} | xargs -I {} grep -li "[text]" {} {# piped into xargs to grep for all files containing specified text ignoring case} |
Warning |
---|
More details should be added for this xargs command or if possible rewrite it in a way that is more clear. |
...