Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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)

share|improve this answer
+1 Good idea to use xcopy after extracting thanks. – Need_Help Sep 15 '09 at 20:01

You must log in to answer this question.