Zip Without Compression – Windows, Linux, MacOS

If you want to store a big folder as a single file, so it could be easily uploaded somewhere or shared with someone, you can create a simple zip archive from it.

To avoid wasting a time and resources on compression and decompression, this zip archive can be created without compression.

In this short note i will show how to create a zip file without compression from the command line on Windows, Linux and MacOS.

Cool Tip: zip and unzip from the command line in Windows! Read more →

Zip Without Compression

Execute the following command from the Windows PowerShell to zip a file or a directory without compression:

PS C:\> Compress-Archive -CompressionLevel NoCompression `
                         -Path 'C:\input' -DestinationPath 'C:\output.zip'

Multi-Line Command: The long PowerShell command above have been spitted over multiple lines by using a space followed by the backquote character, i.e. `.

On Linux or MacOS a zip archive without compression can be created from a terminal using the command as follows:

$ zip -0 -r output.zip input

Cool Tip: How to create a password protected .zip file! Read more →

Leave a Reply