hello,
i have a process which downlods 5 files at once every morning in the format of:
abc.010104.txt
abc.010204.txt
abc.010304.txt
abc.010404.txt
abc.010504.txt
the format is: abc.(date).txt
the only thing that changes on the files are the dates.
as you know, the download stamps these files with the same time and date, so i can't use that as an attribute.
i just want to create a script that would copy the file that corresponds to the specific day, every day, automatically. for example, today is the 9th, then the only file i would want to copy out of the 5 files would be the abc.010904.txt file. for tomorrow, the 10th, i would want to copy the abc.011004.txt file only.
does anyone have any idea how to approach doing this???
Thanks a lot...
i have a process which downlods 5 files at once every morning in the format of:
abc.010104.txt
abc.010204.txt
abc.010304.txt
abc.010404.txt
abc.010504.txt
the format is: abc.(date).txt
the only thing that changes on the files are the dates.
as you know, the download stamps these files with the same time and date, so i can't use that as an attribute.
i just want to create a script that would copy the file that corresponds to the specific day, every day, automatically. for example, today is the 9th, then the only file i would want to copy out of the 5 files would be the abc.010904.txt file. for tomorrow, the 10th, i would want to copy the abc.011004.txt file only.
does anyone have any idea how to approach doing this???
Thanks a lot...