Inside a directory(without any subdirectories) I have several text files.
I want to create a array containing the list of files which contains specific two Strings say Started uploading and UPLOAD COMPLETE.
for i /directory_path/*.txt; do
#perform operations on 1
done
This is considering all the text files present in the directory.
Here, in i I want only the files which contains the above said strings.
Any suggestion/help will be appriciated!