Getting close to 7zip GUI “Ultra” compression from a batch file
Posted by jpluimers on 2018/02/23
These are the command-line parameters I assembled to get close to “Ultra” compression from the 7-zip command-line:
"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma2:d1024m -mx=9 -aoa -mfb=64 -md=32m -ms=on -sdel filename archive.7z
This will move filename to archive.7z using maximum compression.
Sometimes this is slightly better than “Ultra” compression from the 7-zip UI, sometimes slightly worse, but never far apart.
via:[WayBack] batch file – 7zip Ultra LZMA2 compression – Stack Overflow
–jeroen






Leave a comment