Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.