|I have a directory with files written every 10-minutes for 24-hours per day, and I need to extract a set of files for specific days, around a specific time for each of the days. I have a list file of the dates for which I need the files extracted, and a list of the times for which I need to extracted files (all files + or - one hour around the specific time... or I can set it up so it's all files > than time1 and < time1 + 2 hours. For each date, the selected files (can range from around 14 to 20 total) will need to be placed in a folder corresponding to the date that the files were created. |
What I can do so far:
-generate a folder structure of the chosen dates (e.g. folders named 20070511, 20070520, etc...)
Can anyone think of an automated way for me to pull the files I need, using the Modified Date and Time information, and copy them into the proper folders?
Thanks in advance for your help!