Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 do I create a 7z file that had only files created after a specified date in it, using the command line?

share|improve this question
Depends on the OS. – Nifle Dec 20 '11 at 13:48
I don't think you can do this from 7z directly. You could use xcopy with the /d: parameter to copy the files to a folder and then use 7z with that folder. (assuming you are on windows) – myotherme Dec 20 '11 at 13:51

You'd use a batch file that selects the files based on whatever criteria you wish, and then calls the 7z command line utility to compress these files as desired.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.