Created
October 27, 2017 19:50
-
-
Save michael-manley/107d4098872edd2f4df5931b6748a971 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if not exist "%2\NUL" mkdir "%2" | |
echo Extracting %1 | |
pushd "%2" | |
"c:\Program Files\7-Zip\7z.exe" x "%1" -t* [0] | |
"c:\Program Files\7-Zip\7z.exe" x [0] -t# | |
for %%f in (*.7z) do ( | |
echo Creating manifest for package %%~nf | |
"c:\Program Files\7-Zip\7z.exe" l %%f > manifest_%%~nf.txt | |
) | |
del *. | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment