Home > 7z > 7z -mhe

7z(1) -mhe
A file archiver with highest compression ratio
       7z format only : enables or disables archive header encryption (Default : off)


7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on archive.7z dir1 adds all files from directory "dir1" to archive archive.7z using "ultra settings"
-t7z 7z archive
-m0=lzma lzma method
-mx=9 level of compression = 9 (Ultra)
-mfb=64 number of fast bytes for LZMA = 64
-md=32m dictionary size = 32 megabytes
-ms=on solid archive = on
7z a -sfx archive.exe dir1 add all files from directory "dir1" to SFX archive archive.exe (Remark : SFX archive MUST end with ".exe")
7z a -mhe=on -pmy_password archive.7z a_directory add all files from directory "a_directory" to the archive "archive.7z" (with data and header archive encryption on)

Tips or Questions?

Powered by ExplainShell