I want to create zip archive with PPMd compression method from command line because I noticed it has best ratio when compressing plain text files, but I get error about wrong argument (or something like that):
System ERROR:
E_INVALIDARG
I try that commands:
7z a -tzip -m=ppmd file.7z file
7z a -tzip -m0=ppmd file.7z file
7z a -tzip -m1=ppmd file.7z file
...
7z a -tzip -m9=ppmd file.7z file
but when changed archive type it worked:
7z a -t7z -m9=ppmd file.7z file
7z a -t7z -m9=ppmd file.zip file
7z a -t7z -m9=ppmd file.xz file
Is PPMd in zip format not supported from command line 7z? I remember that I could do that from 7-zip file manager.
I use last version of p7zip (16.02) in linux.
By the way: is any difference between:
7z a -t7z -m0=ppmd file.7z file
and
7z a -t7z -m9=ppmd file.7z file
?
So my question is: how to set PPMd method (or any other then default deflate) when compress to zip from command line?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to create zip archive with PPMd compression method from command line because I noticed it has best ratio when compressing plain text files, but I get error about wrong argument (or something like that):
System ERROR:
E_INVALIDARG
I try that commands:
7z a -tzip -m=ppmd file.7z file
7z a -tzip -m0=ppmd file.7z file
7z a -tzip -m1=ppmd file.7z file
...
7z a -tzip -m9=ppmd file.7z file
but when changed archive type it worked:
7z a -t7z -m9=ppmd file.7z file
7z a -t7z -m9=ppmd file.zip file
7z a -t7z -m9=ppmd file.xz file
Is PPMd in zip format not supported from command line 7z? I remember that I could do that from 7-zip file manager.
I use last version of p7zip (16.02) in linux.
By the way: is any difference between:
7z a -t7z -m0=ppmd file.7z file
and
7z a -t7z -m9=ppmd file.7z file
?
So my question is: how to set PPMd method (or any other then default deflate) when compress to zip from command line?
Thanks Igor, it worked!