I need a way to search for a file using the current date. The file will look like the following FTP.log_20141213_120043.log
. I know how to format the search string I need to use which in this example would be 20141213. I also will know the folder ahead of time. I just need to know how to find the file based on the formatted date.