View Single Post
  #5  
Old 17-04-2021, 10:17
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
How do I make a simple zip file through 7z command line?

I am trying to replicate these settings:


I tried:
Code:
7z a -bt -bb3 -mx=7 -mm=deflate outfile infile
However this still makes a 7z archive as shown by this hex editor screenshot:


It should look like this:

You must enter the zip format type on the command line.
I don't know if this resolves, take the test.
Code:
7z a -tzip -bt -bb3 -mx=7 -mm=deflate outfile infile
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Masquerade (30-05-2022)