Given this example folder structure:
/folder1/file1.txt /folder1/file2.djd /folder2/file3.txt /folder2/file2.fha
How do I do a recursive text search on all *.txt files with grep from "/"?
("grep -r <pattern> *.txt" fails when run from "/", since there are no .txt files in that folder.)
-. – T.J. Crowder Feb 07 '11 at 12:08grepis faster offind. – Nabi K.A.Z. Aug 16 '18 at 05:18