# How to do “Files to store without compression” in 7-zip

7-zipcompression

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.

Use the command line version of 7-Zip with the -m parameter to specify the method as Copy, which means no compression.
7za a -m0=Copy tmp7.7z *.txt