RAR and WinRAR are one of the most popular commercial compression applications. Still most of the time many important and useful features of these applications are not used by users because they either not exposed through interface or may not be easy to find. In this article we will try to cover several interesting features of RAR console application which could help users in their compressions and extraction tasks.
Compression method switch allows choosing between efficiency and performance of compression. Below are options available in RAR:
m1 and m2 methods use generic RAR compression algorithm. m3, m4 and m5 also recognize executable, audio and image files and try to use the best possible algorithm for compression of such files. Methods m4 and m5 also use more advanced text compression algorithm from PPM (Prediction by Partial Matching) family.
Compression method is specified via -m<n> switch.
Instead of choosing compression method it is also possible to specifically choose compression algorithm parameters which RAR will use to compress data.
Following algorithm parameters could be set:
Extension Details | |
---|---|
Compression file format | |
MIME Type | |
application/x-rar-compressed application/octet-stream | |
Identifying Characters | |
Hex: 52 61 72 21 | |
Opens with: | |
WinRAR 7-Zip IZArc |