Hi,
Here is my problem:
I try to write a script to find data in a file named "data" for exemple.
Let's say I am in the directory /x/y/z, there are several sub-directories in the "z" directory (each sub-directory has a file "data") and I am searching for the word "help".
So I use this command to search my data:
find /x/y/z -type f -name data -exec grep "help" {} +
It works, but how can I search for the word "help" in the most recent files "data".
I try with the command "-newer" but it did not work
Please, can somebody help me?
Thanks