i have few files generated everyday with a date stamp. Sometimes it happens that if the files are generated late i.e after 00:00 hrs the date stamp will be of the next day.
example:
110123_file1
110123_file2
110123_file3
110124_file4
in the above example file4 is also for the previous day i.e 23rd(as per example) but its generated after 00:00hrs which results in date stamp for the current day.
i want to copy the files for a specific date to another location but in this case only 3 files will be copied and file4 will be copied for the next day run while file4 is for the previous day.
lets say these files are generated after 20:45hrs everyday. but if there is any delay also the files will be generated within 02:00hrs the next day. so i want to have a check wherein i input the date(23rd for the example above) and it should take all the files generated after 20:45hrs for the date entered even the file4 in this case.
all the files generated will have standard filename along with the date stamp.