Compression and archive format that stores one or more files into a single file, usually with a .zip file extension.

learn more… | top users | synonyms

60
votes
20answers
62k views

Compressing with RAR vs ZIP

A lot of people are compressing files with RAR, sending compressed files with RAR and so on. ZIP is more standard and works on all platforms. Windows users have ZIP included and Linux users have no ...
7
votes
4answers
4k views

How to open corrupted ZIP files?

How can I open (or repair) corrupted ZIP files on Windows? Is there a way to force 7-Zip to open them?
4
votes
3answers
2k views

Is it feasible to crack ZIP passwords?

I have a piece of software I have to install on company laptops. The installer needs a serial to work properly, but I don't have it (my manager isn't here so I can't ask him). The installer tells me ...
57
votes
8answers
146k views

Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files?

I have a batch file that outputs a text file. I thought it would be nice if I could zip it up too. This will be used in an uncontrolled environment, so I can't make assumptions about the presence of ...
33
votes
7answers
71k views

How to restore Windows default Zip file functionality?

I recently lost the default file association for Zip files in Windows Vista (I think it happened when I uninstalled WinAce, but I can't be completely sure). How can I restore this association back to ...
18
votes
5answers
13k views

Compressing folders on a mac, without the .DS_Store

Is there anyway to get rid of the .DS_Store when compressing a folder on a mac? I work on a mac and send work to clients in zip format, but always get questioned on the .DS_Store folder inside them. ...
1
vote
2answers
5k views

Compress a folder into multiple zip files

I'm on mac osx. 1. Is there any tool to compress a folder into multiple zip files ? 2. Is there any tool to split a compressed zip file into smaller zip files (to open individually later) ? thanks
1
vote
1answer
6k views

Error while zipping files with unicode characters in names with Win7's “send to > compressed (zipped) folder”

When I try to zip files containing unicode characters in their names, such as © or ™, I get the following error: [Window Title] Compressed (zipped) Folders Error [Content] 'C:\Asd™.txt' ...
45
votes
5answers
44k views

Zip Linux - View files in archive

How can I view the files in a zip archive without decompressing it ?
17
votes
2answers
11k views

Is zip's encryption really bad? [closed]

The standard advice for many years regarding compression and encryption has been that the encryption strength of zip is bad. Is this really the case in this day and age? I read this article about ...
25
votes
4answers
18k views

Can you configure Windows to open JAR files like ZIP files without a 3rd party tool?

I'd like to be able to examine the contents of a JAR file without having to install Winzip or some other tool and without having to rename the file. Windows Explorer can open ZIP files just fine; is ...
18
votes
4answers
14k views

tar – extract discarding directory structure

unzip has a nifty option -j, whereby the directory structure of the archive is discarded, and all files are extracted into the same directory. Is there a way of making tar work in the same way? ...
11
votes
7answers
11k views

How to create a zip file compatible with Windows under Linux

I need to make a zip file available to all my Windows users visitors, so I naively produced a zip file with the Unix zip command (let's call it madeinlinux.zip). It opens successfully with WinRar or ...
6
votes
5answers
2k views

How to split a zip file across INDEPENDENT volumes

I have about 12 GB of image tiles made up of about 2 million files. I'd like to zip these up to make transferring them to a server simpler. I just plan on storing the files in the zip files for ...
5
votes
3answers
4k views

Tool to mount a zip/rar/* archive as a Win drive and be able to read/write as a normal device?

I'm looking for some tool that, given a zip/rar/tar/* archive file, mounts it as a new Windows drive. Some tools are WinMount or WinArchive, but I need one that allows me to write/create/delete files ...
22
votes
6answers
2k views

How can I evaluate the best choice of archive format for compressing files?

In general, I've observed the following: Linux-y files or tools use bzip2 or gzip for distributing archives Windows-y files or tools use ZIP for distributing archives Many people use 7-Zip for ...
8
votes
4answers
19k views

Zipping folders and their contents into a .zip file in Linux

How do I make a .zip file that contains every file AND every folder in the directory?
5
votes
5answers
1k views

How can I test all zip files in a folder to verify if they are corrupted or not?

There was a utility a long time ago called CFAtest that was doing this quite nicely, but it has disappeared. Basically, I am looking for a similar tool (preferably graphical) that will traverse a ...
2
votes
2answers
607 views

Create multiple zip files that are not dependent on each other?

I want to compress a folder into multiple zip files of 50MB each but don't want them to be dependent on each other. When I use Winzip and use the split feature it creates one zip file and the others ...
2
votes
3answers
625 views

What kind of window's batch file allows zipping of ftp files?

What commands should I use to transfer a file via FTP and then compress the files in a backup directory with a filename containing the date/time for reference? I'd prefer to use batch scripting. The ...
1
vote
1answer
829 views

How could I portably split large backup files over multiple discs?

Context: I make backups / archives, primarily of photos. I'm experimenting with Bup, which is designed for backup to hard disk. Basically it creates Git repos which include packfiles of up to 1GB. ...
1
vote
3answers
1k views

How do I insert a folder into a ZIP file?

I'm a newbie on Linux and had to do something like this with the zip command: My folder structure inside a zip file abc.zip is: -- currentdir -- onestepdeep -- abc.zip -- folder1 ...
1
vote
4answers
226 views

Build Zip archive, special cases

How can I create a zip in a linux distro and - keep only the relative path to a folder - put some files in a separate folder inside the zip I need to do this in a bash script so if i just use the ...
0
votes
1answer
356 views

ZIP password recovery [duplicate]

Possible Duplicate: zip password crack possible? I have a zip file to be password-recovered. I don't remember the password itself, but I remember what type (a capital or small letter or a ...
16
votes
7answers
13k views

How can I create a zip / tgz in Linux such that Windows has proper filenames?

Currently, tar -zcf arch.tgz files/* encodes filenames in UTF, so Windows users see all characters spoiled in filenames which are not english, and can do nothing with it. zip -qq -r arch.zip files/* ...
72
votes
11answers
3k views

Can zipping a file break it?

I just asked someone to send me a zipped psd file. They declined, citing that zipping a file can break the fonts. I assumed zipping a file is perfectly reversible, hence why it is commonly used. I ...
8
votes
8answers
20k views

How do I reassemble a zip file that has been emailed in multiple parts?

I received 3 emails each containing part of a zip file. The extensions end in .z00, .z01 and .z02. (Emailed as such to get around the typical 10Mb attachment limit per email.) I have put all 3 files ...
10
votes
2answers
1k views

NTFS alternate stream in compressed archive?

Does any of the major compressed archive formats in Windows (e.g. zip, rar, 7z) support NTFS alternate data stream?
14
votes
4answers
14k views

terminal tool (linux) for repair corrupted zip files

I've a corrupt zip file. I've tried to repair it with zip -F file.zip and zip -FF file.zip but was not successful. Is there another terminal tool under Linux for repairing?
7
votes
6answers
12k views

How can I achieve the best, standard ZIP compression?

I don't care how long it takes to compress, all I want to achieve is two things: The absolute best possible compression ratio Compatibility with standard readers, such as Windows and WinZip So ...
31
votes
5answers
2k views

Why is a 7zipped file larger than the raw file? [duplicate]

Possible Duplicate: Why doesn't ZIP Compression compress anything? I tried 7zipping an .exe file but it actually became larger. Is this the expected result?
19
votes
3answers
24k views

Read the contents of a zipped file without extraction?

How can I see the contents of a particular file in an archive without extracting the .zip it is contained within? I'm using the Linux command line.
10
votes
2answers
7k views

Avoid unwanted path in Zip file

I'm making a shell script to package some files. I'm zipping a directory like this: zip -r /Users/me/development/something/out.zip /Users/me/development/something/folder/ The problem is that the ...
4
votes
4answers
193 views

Why does zipping a zipped file not reduce its size?

Based on the idea that a zipped file is a new binary file, why can't I reduce a Zip's size by zipping it again and again – up to a very small resulting file?
4
votes
6answers
5k views

Are there any free command line based zip utility?

I need to schedule a command line to zip contents of a couple of folders. Are there any free command line based utility that can handle multi volumes? (7Zip is disqualified, the -v parameter is not ...
1
vote
3answers
457 views

Is there an archive tool (that runs on Windows) that I can set the “execute attribute” in an archive file or zip file?

I have a small set of files I develop on Windows but need to extract and run on Linux. One of those files is a script, StartApp.sh. I'm packaging the files as a zip archive, passing it to my admin, ...
3
votes
2answers
282 views

Specific password recovery [closed]

I have a zip folder which I saved and password protected. I forgot the password but I know that the password is something like : BlueMonday!2012 or bluemonday2012 I know I can brute force the file ...
1
vote
1answer
3k views

How to extract 7z zip and have correct directory strucuture?

XXXhostXXX:temp XXXuserXXX$ ls -a dir1/ . .. a.txt b.txt XXXhostXXX:temp XXXuserXXX$ pwd /Users/XXXuserXXX/temp XXXhostXXX:temp XXXuserXXX$ 7z a -t7z dir1 dir1 7-Zip [64] 9.20 Copyright (c) ...
11
votes
3answers
28k views

Does Windows 7 have unzip at the command line installed by default?

There is a zip/unzip option in the context menu so is it accessible from the command line?
4
votes
3answers
2k views

Recursively unzip files where they reside, then delete the archives

I goofed up a setting on the backup software I use. Normally I would have the files from a network share get loaded into a spare drive, compressed into zip folders, then sent off to the offsite hub. ...
4
votes
1answer
366 views

Zip into separate files

I need to separate a huge directory into multiple .zip files that are not interdependent on each other. So, instead of: file1.zip file2.z01 file3.z02 I would like the following set of files ...
3
votes
2answers
7k views

How to extract data from a partially corrupt multi-part rar archive?

I downloaded a video that's 11 parts the other day. Today I tried to extract it but it tells me that part04 is corrupt. So I checked "keep broken files", but of course it only gave me the beginning of ...
3
votes
3answers
8k views

How do I create separate zip files for each selected file/directory in 7zip?

This is the internal zip packer from Total Commander: However I want to use my 7zip packer. When I select 5 files, I get 5 separate .zip archives for each selected file. How do I do that in 7zip?
3
votes
1answer
3k views

Can I stop windows from “Blocking” zip files

When downloading a zip file from the internet, Windows "blocks" it. By that I mean I have to right click>Properties>and click unblock. Is there a way to stop windows from doing this?
3
votes
2answers
1k views

zip: Argument list too long (80.000 files in overall)

I need to compress 80.000 files into multiple zip files. This is the command I use: zip -s 200M photos_test/* However I get the following error: -bash: /usr/bin/zip: Argument list too long What ...
3
votes
3answers
6k views

GUI zip utility for Mac OS X that supports previewing [closed]

I always miss 7-zip when I'm working on my Mac. Does anyone know of a good GUI utility that allows me to preview zip file contents and do partial extracts? I've seen the Unarchiver and various 7-zip ...
2
votes
3answers
2k views

Why does a zip file appear larger than the source file especially when it is text?

I have a text file that is 19 bytes in size and having compressed the file using zip and 7zip, it appears to be larger. I had a read of the question on Why is a 7zipped file larger than the raw file? ...
2
votes
2answers
620 views

Unzip only updated files

Is there a way to unzip a zip file into a directory, but only do so for updates files (I mean the compressed files inside the zip)? I have a huge directory of files there, and only about 20% are ...
1
vote
1answer
1k views

How to stop windows from opening Zip folders in the explorer view?

I don't want windows to be able to open zip files in the explorer view. How do I go about disabling this?
1
vote
3answers
9k views

Windows 2003 zip from command line [duplicate]

Possible Duplicate: Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files? Is there a way to zip a file (or group of files) from the command ...