How to find a file with a specific pattern for current sysdate & upon find email the details?

I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement

I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day�s date and then send an email.

Thanks in advance.
Preet

What have you tried so far? When posting your code, enclose it in

```text
 and 
```

tags please.

I use following command to find the file:

 
find [PATH] -name "[FILENAME]" -print
example:
find <abc/xyz/klm > -name "*.err" -print

Thanks
Preet

Files from today, younger than 24 hours, in the current directory

find . -type f -mtime 0 -name "*.err" -print

More information

man find
2 Likes

Thank you so much