I need to check for the existence of a file in a directory. The file name has a pattern like:
/d1/d2/d3/abcd_12345_67890.dat
In my program, I will know the file name up to abcd_
I need to write an if
condition using -e
option and find the files matching above given pattern.