I am new to unix scripting. I have to do something like :
In a folder /x everyday 10Pm and next day 3 AM, 2 files are placed. I have to write a script which will check the folder /x and confirm if the files are there or not and send mails accordingly everyday.
file formats:
ValuationIR**02092013**_0326(FileName pattern:ValuationIR<date>_<time>.csv)SnapshotIR**02082013**_2238(FileName pattern:SnapshotIR<date>_<time>.csv)
Could someone help on how can I achieve the same, and which all commands would be required.