Is there any way to selectively prevent certain file types from compression in 7-zip, like in WinRAR?
I'm trying to compress a huge folder (many gigabytes), and I don't want the already-compressed files (e.g. ZIP files) to be re-compressed — they should be stored without compression.
Best Answer
Yes, it is possible to have different compression methods for different files within the same 7-Zip archive.
Use the command line version of 7-Zip with the
-m
parameter to specify the method asCopy
, which means no compression.Example :
For more info, see -m (Set compression Method) switch.