Home > Bookmarks, Linux, Tech > 7-Zip compression options -mx ( LINUX )

7-Zip compression options -mx ( LINUX )

September 5th, 2009 Leave a comment Go to comments

This is the most important and useful option you can use and change the optimization settings in 7-Zip on the command line:

-mx, 7-Zip compression switch:

  • -mx0 – Don’t compress at all. ( Is called “copy mode.” )
  • -mx1 – Very low compression. (It is called “fastest” mode. )
  • -mx3 -  Fast compression mode.
  • -mx5 -  Same as above, but “normal.”
  • -mx7 – “maximum” compression.
  • -mx9 -  “ultra” compression (slowest).
  • -mmt – Enable multithreading. (if you have quad-core and a huge archive – Specify “on” or “off”.).

7-Zip example (store mode, not compression):

[root@server1]# 7za a -mx0 mysql.zip /var/lib/mysql/

  1. No comments yet.
  1. No trackbacks yet.
GoCache - ByREV-Cache v1.0 - live served in : 0.143254 sec (gzip)