group files in a directory based on creation date
Posted on 2009-04-06
I' am doing a project (as a console application in Vb)
I have about 12 folders (for each month of an year) e.g. 2006-09 (sep).
Each folder contain about 20,000 xml files.
1. Now I want to group these files by their creation date. e.g. all files created on the 2006-09-20 belong to one group, files created on 2006-09-21 belong to another group and so on.
2. Then I want to compress and zip these collections (one by one) , so a zip file would look like ..\2006-09 (sep)\2006-09-20.zip
3. Then delete all the files (for whom a zip has been created).