36

I'd like to bundle a number of big files into a single file, to make them easier to share. The files are already compressed (eg. jpeg, video etc), so I don't need compression, only archiving. How can I put them in a zip file without using zip's compression feature? I don't want to waste time trying to compress gigabytes of already compressed files.

I want to use zip and not tar file because many Windows users can't open those files.

2
  • 4
    Which program are you using?
    – Dennis
    Apr 11 '12 at 23:28
  • Just a FYI, even those those files have been compressed, you can probably reduce the total size in a compressed archive.
    – Keltari
    Mar 9 '20 at 20:44
33

The ZIP format has always supported archiving files with zero compression ratio, even since pkzip/pkunzip in DOS times.

Nowadays, almost all compression programs support this; 7-Zip is one of them, it lets you specify the compression ratio both from the GUI and from the command line, and it's free.

3
  • 12
    in 7zip, the 'store' compression option should do the trick
    – Journeyman Geek
    Apr 11 '12 at 23:48
  • 13
    On OS X, zip -Z store foo.zip a b c or zip -0 foo.zip a b c will archive a, b, and c without compressing them.
    – Ian Dunn
    Aug 24 '16 at 23:36
  • @IanDunn's comment or @JasomDotnet's answer (zip -0 or zip -Z) should be considered correct answers. Nov 25 '20 at 17:05
21

For Linux this shell command zips mydir folder with no compression:

zip -0 -r mydir.zip mydir
3

If you are using WinZip
Go to the "Settings" ribbon, and look for the "zip" group:

enter image description here

After that, drag the files you want to zip, into the file area.
A popup shows that the files have not been compressed in size:

enter image description here

2

Info-ZIP's zip, which is open source, free, and already installed on most Unixish systems has a "-0" option to store only.

Also if you simply zip with any zipper and the entries would be shorter stored than compressed, which is what happens with already compressed files, then they will be stored automagically. However if you already know they're compressed, then it's faster to just tell zip to that with -0.

0

Right click on all the files you want to zip, from the menu go to "send to" then click "compressed file".

4
  • This assumes a program to zip files is even installed, which may or may not be true.
    – Ivo Flipse
    Apr 12 '12 at 9:33
  • 1
    @IvoFlipse: This is built-in Windows functionality. Apr 12 '12 at 16:07
  • 8
    It is, but it does use compression. Apr 12 '12 at 16:30
  • 1
    The title specifically says "Without compression" Apr 13 '16 at 22:25
0

Almost all modern compression tools detect if files are already compressed, and chose not to compress such files.

0

You can also use B1 Free Archiver - it supports zip format perfectly. After clicking on "Create archive" just hit the button "More options" and choose "Store". It only stores the files as a single file without compressing them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.