read file names in a folder of files in order
Posted on 2011-09-08
Can anyone give me a perl script to check to see which files are missing from a folder? The folder is located in H:\Renamed
The files have names like
and so on. The first number is the year, second is the month, third the day, fourth the hour. I am not sure what the fifth number is but I think it can be ignored.
I would like to know which files are missing in the sequence. So if I specify the first date, with for example, 09-10-31_00-00-01_sina.csv
and then the last file with say for example,
then I would like to I would like to know which if any are missing. For example maybe there is no