![]() ![]() ![]() This means that p7zip will compress similar files as single chunks of data, achieving even better results. The higher their values, the greater the compression and the smaller the produced bundle.įinally, -mqs=on -ms=on defines that we want “solid” compression. mx=9 -myx=9 correspond to the level of compression and the “amount of effort” 7-Zip will put into analyzing the contents of the files to be compressed to find the best compression strategy. This usually yields the best compression for most file types. t7z -m0=lzma2 indicates that we want to create 7zip packages that primarily use the LZMA2 algorithm for file compression. The a following it means “we want to add files to a new compressed package.” -r indicates that p7zip should not be “constrained to the folder where it ran” but should include the final compressed package and all sub-folders in it, with all its contents. The reason we adopted this peculiar name for our command is because it’s easy to recall as a short version of “7zip compression level 5.”ħz is the compression command itself. Alias 75= '7z a -r -t7z -m0=lzma2 -mx=9 -myx=9 -mqs=on -ms=on'Īlias 75 says we want to create the command “75” that we will use from now on to compress all files and folders in a directory into a packaged 7-Zip bundle. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |