Hi - can someone please help me combine find, grep and possibly ls into something workable:
i.e. How can I list all the files that contain the word "pet" in all directories under the current directory that are called "animal", bar those anywhere under directories called "archive"?
I suspect this will be a combination of grep -l pet , find . -type d -name animal
and prune , but can't quite work out what! :wall: