December 13, 2010 at 11:44 am
Hi Friends,Please help me on the following scenario.
I am having folder for example located at D:\Test.
In the above test folder there are another 5 subfolders say
D:\Test\Folder1,
D:\Test\Folder2
........
........
........
D:\Test\Folder5.
and all the 5 folder contais other zip files eg.
D:\Test\Folder1\ex101211
D:\Test\Folder1\ex101210
D:\Test\Folder1\ex101209.
these are the log files and zipped.
Now i want to move that files from one location to another but i have to remove old files which are old than 3 months.
So can anyone know the idea about this then please help me
With regards
Abhas.
December 13, 2010 at 3:45 pm
Add a precedence contraint to your package and check your rundate versus the date contained within your file. If the date in your file is greater than 3 months compared to your run date, then delete the file. You can read the file name and substring out the date if needed and then add that as a variable to your dataflow to check against the current runtime.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply