How to delete the file using pattern match?
hello all,
I have a folder which contains the file name in the format
date_hostname_instance.log For eg:20080416_blrm1548_instance1.log
In the folder i have to check for the file name which starts with the current date and delete it(using shell script).
Please let me know your views on this
|