Which files in a folder (and its subfolders) include/exclude a given text string
WhichFile(String, Folder, fixed = TRUE, DoesExist = TRUE)
A vector of filenames returned as character strings.
The text string or regular expression being sought.
The head folder to start searching in.
Fixed text string or if FALSE, a regular expression that will be passed togrep().
If TRUE, it shows the files that do include the text string of interest; if FALSE, files that lack the search string are returned.
A. Jonathan R. Godfrey in response to a request from CRAN to add missing text to help documentation.
Finding a given search string in a pile of text files is time-consuming. Finding which files lack that search string is even harder.