Extracting files from ZIP archive by date range

0

How can I extract files from ZIP archive filtering by date. I want to extract files dated between 2008-9-15 and 2008-10-1. I have Windows XP Pro. I would like to do it from command line. What tool/programs can do that?

Need_Help

Posted 2009-09-15T18:07:54.507

Reputation:

Answers

1

If you can't find a command line to do this then you could always extract all the files and then xcopy the ones you want...

Something like:

attrib +A *.* /S
xcopy *.* temp_folder /M /S /D:10-2-2008
xcopy *.* files_you_want /M /S /D:9-15-2008

This sets the archive attribute on all files > copies all files from 2008-10-2 and resets their archive attribute > copies all files from 2008-9-15 which have their archive attribute set (i.e. the ones you want.

Clunky, for sure...

(Or use Windows Explorer to select the date range of course)

pelms

Posted 2009-09-15T18:07:54.507

Reputation: 8 283

1+1 Good idea to use xcopy after extracting thanks. – None – 2009-09-15T20:01:03.577