Good Morning all,
I have a scenario where I need to handle 110 files. I have to get the count of lines of each file individually and need to send an email when the count of the file is 2.
I want to do it in a single script.
For Example:
FILE1 has two lines then I need to send a mail saying that the count of FILE1 is 2.
FILE2 count is more then 2 then no need to send a mail.
FILE3 count is two then I need to send a mail saying that the count of the FILE3 is 2.
Thank you....
I have a scenario where I need to handle 110 files. I have to get the count of lines of each file individually and need to send an email when the count of the file is 2.
I want to do it in a single script.
For Example:
FILE1 has two lines then I need to send a mail saying that the count of FILE1 is 2.
FILE2 count is more then 2 then no need to send a mail.
FILE3 count is two then I need to send a mail saying that the count of the FILE3 is 2.
Thank you....