Created
April 17, 2019 21:38
-
-
Save pmarreck/83d0a9b6dc319c98d30a7156682322f8 to your computer and use it in GitHub Desktop.
How to convert a directory of .zip files to .7z (7zip) in Windows
This file contains hidden or 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
for %%F in (*.zip) do ( "C:\Program Files\7-Zip\7z.exe" x -y -o"%%F_tmp" "%%F" * & pushd %%F_tmp & "C:\Program Files\7-Zip\7z.exe" a -y -r -m0=lzma2 -mx=9 -t7z ..\"%%~nF".7z * & popd & rmdir /s /q "%%F_tmp" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lovely Jubbly. Needed for a Mame romset. Thanks!