After unzipping all the .zip files I have in a same directory using 7za e *.zip -o* with the command line version, how can I recompress each directory content individualy to replace the original .zip files? I'd like to do it with a windows batch file.
Thanks in advance.
1) the original zip files will still be there.
2) -o* ?
3) yes, use a batchfile. What's the problem? If you can unzip them you can do the same in a batchfile, no?
I'm not sure you understood what I want to do.
Step 1: dir
Step 2: 7za e *.zip -o*
Step 3: del *.zip
Step 4: Now I want to go back to Step 1, but I don't know how to recompress each folder content individually.
7za e *.zip -o*
del /f /q *.zip
for /d %%l in (*) do 7za a -tzip %%l.zip %cd%\%%l\*.* -mx9
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.