Ö
Örjan Johansson
Hi all!
I'm trying to figure out how to go through all files with a certain
extension in a directory, search for a string and return the names of the
files that contains the string. I have written scripts before that opens a
single file for reading and writing, but have no clue how to go through all
files in a folder, like a wildcard *.log kind of thing. Any pointers?
TIA,
Örjan
I'm trying to figure out how to go through all files with a certain
extension in a directory, search for a string and return the names of the
files that contains the string. I have written scripts before that opens a
single file for reading and writing, but have no clue how to go through all
files in a folder, like a wildcard *.log kind of thing. Any pointers?
TIA,
Örjan