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

72
votes
20answers
82k 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
5answers
5k 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?
73
votes
9answers
202k 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 ...
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 ...
37
votes
7answers
95k 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 ...
28
votes
5answers
23k 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. ...
4
votes
2answers
13k 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' ...
89
votes
8answers
80k views

View files in ZIP archive on Linux

How can I view the files in a ZIP archive without decompressing it?
1
vote
2answers
6k 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
28
votes
4answers
21k 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 ...
20
votes
6answers
20k 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? ...
19
votes
2answers
13k 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 ...
2
votes
1answer
5k views

How to zip multiple files into separate archives?

I admit this question was asked here before: Like Zip into separate files where the person who asked didn't specify the OS he used and received no answers. I need to separate a huge directory ...
19
votes
7answers
17k 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/* ...
16
votes
2answers
12k 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 ...
16
votes
8answers
18k 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 ...
14
votes
4answers
39k 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?
7
votes
3answers
7k 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 ...
6
votes
6answers
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 ...
24
votes
6answers
3k 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 ...
9
votes
5answers
5k 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 ...
7
votes
3answers
735 views

Which archive file formats provide recovery protection against file corruption?

I use my external HDD to back up my files, by putting them into large archive files. I have thousands of tiny files, and put them into archives of 500MB to 4.2GB in size, before sending them to the ...
5
votes
3answers
4k views

How can I create a .zip file for each folder within another folder?

Under the folder images\, I have the following folders: Usa\ Italy\ Japan\ etc.. I want a script that creates a .zip for each of these folders, so I have usa.zip , italy.zip, japan.zip. How can ...
1
vote
3answers
2k 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 ...
3
votes
2answers
11k 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 ...
2
votes
2answers
864 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
761 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
2k 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
4answers
356 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
406 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
3answers
49k views

What are the best options to use when compressing files using 7 Zip?

I often have to gather log files and upload them to a central server (Owned by another company). The central server has a size limit of the file, so I am trying to create the smallest file possible ...
81
votes
2answers
37k views

What is __MACOSX folder?

What are these __MACOSX folders I keep seeing in zip files made by people on OSX? Some take as much as 30% of the file. What program are producing these __MACOSX folder and how can mac users avoid ...
27
votes
5answers
21k views

Unix zip directory but excluded specific subdirectories (and everything within them)

I'm trying to zip a directory (on Unix via SSH) but I need to exclude a couple of subdirectories (and all files and directories within them). So far I have this: zip -r myarchive.zip dir1 -x ...
77
votes
11answers
4k 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 ...
9
votes
8answers
38k 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 ...
47
votes
5answers
56k views

Read the contents of a zipped file without extraction? [duplicate]

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.
34
votes
5answers
4k 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?
21
votes
4answers
22k 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?
11
votes
2answers
2k 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?
9
votes
6answers
18k 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 ...
7
votes
2answers
5k views

PowerShell zip file synchronously

In a PowerShell script, I want to zip a folder before deleting the folder. I run the following (I don't remember where I found the snippet): function Compress-ToZip { param([string]$zipfilename) ...
13
votes
7answers
13k views

7zip doesn't ask me for password for a zip I encrypted while double-clicking it

I just tried to encrypt a folder with 7zip by command line choosing a password but when double-clicking on the zip file, it shows me the files list without asking any password. Any other alternative ...
10
votes
1answer
3k views

How to stop 7-Zip from automatically downloading and opening a zip file in Chrome?

I have checked the "Ask where to save each file before downloading" option in Chrome settings yet after installing 7-Zip, every time I click on a link which targets a .zip file: chrome doesn't fire ...
8
votes
3answers
2k views

How to prevent 7-Zip encrypted zip file passwords from being stored on the hard-drive?

I've encrypted a folder with 7-Zip 9.20, specifying 256-bit AES and a password, and the .zip file was created. But then, when I clicked on the zipped file, to my surprise, PeaZip 5.1.1, which was the ...
6
votes
3answers
17k 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?
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 ...
3
votes
4answers
386 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?
2
votes
2answers
410 views

Recursively zip files into .cbz-files based on folder in command line

I'm trying to figure out how to write a script to automate creating .cbz files from images in folders on OSX. My directory tree will look like this: /toplevel/ cbz/ comics/ Comic1/ ...
1
vote
3answers
758 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, ...
8
votes
2answers
5k views

View Contents of Archive in Mac OS X

Aside from unzip -l, do I have any non-command line options for viewing an archive's contents on Mac OS X?