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

24
votes
5answers
7k views

Can Double Zipping Cause Problems?

I have a directory that I have been storing a ton of files in. Among the 10ish types of files there are also .zips of other directories. In my personal experience I vaguely remember issues when ...
2
votes
1answer
566 views

Remove leading subdirectories in a ZIP file

Is there any ZIP tools that do similar to the patch -p1 command, where the first N directory names would get ignored? My users send me ZIP files that often contain one unnecessary directory, and ...
1
vote
2answers
178 views

What do I need in order to extract and combine text files from multiple ZIP files, via command line?

I've got an interesting scripting challenge in front of me. I'm fairly certain there's a way to do it, but I feel like I'm probably lacking some particular tools and/or functional knowledge. There's ...
5
votes
1answer
773 views

What zip encryption is used by Windows Explorer

I'm trying to find out what algorithm and key strength is used by Windows (XP) Explorer in order to explain why it isn't secure, but it does not seem to be detailed anywhere (Google only seems to give ...
8
votes
2answers
2k views

Linux: Specifying top level-directory when creating zip archive

I have project with the usual directory structure (src/, bin/, ...), i.e project-name/ |-- bin |-- lib |-- src `-- Makefile And would like to create an archive with the following directory ...
3
votes
1answer
7k views

is “unzip” the same as “extract”?

I've downloaded some industry software to my desktop there is a pdf with it that says I should unzip the folder (its a compressed zipped folder). When I night click it I get the option to "extract" ...
2
votes
2answers
251 views

How do I make zip files that unzip cleanly on any OS with native tools?

If I make a zip file on OSX 10.6 with the OS native tool, and unarchive it on Windows 7, it's root directory will be doubly nested in another one with the same name, and it will contain all kinds of ...
3
votes
2answers
14k 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 ...
9
votes
5answers
9k views

How can I control the order of files in a ZIP archive?

There are times when it is necessary for the files in a ZIP archive to be in a specific order (for example, I'm currently creating EPUBs, which require that the first entry in the ZIP be the mimetype ...
1
vote
3answers
2k views

Is there better compression than RAR? [duplicate]

Possible Duplicate: Compressing with RAR vs ZIP As many will know, the RAR format produces consistently better results than ZIP. I've used RAR happily for many years and it's really ...
0
votes
1answer
317 views

How does the CentOS/Linux zip utility handle files that are changed during compression?

Question says it all: I have a directory that I want to 'zip -rv' up, but the files are changing all of the time (postgres database base backup). Will this break zip, or will it continue with a ...
15
votes
1answer
13k 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) ...
1
vote
0answers
2k views

'No such interface supported' when attempting to compress file through 7zip commandline

When I run the 7zip commandline: > echo foo | 7za a arc.7z -sifoo.txt Everything works as expected, but if I try to do: echo foo | 7za a arc.zip -sifoo.txt I get the following: ...
0
votes
0answers
845 views

How to add password to zip file on SBS 2008?

I'm trying to add a password to a zip file on SBS 2008, but there is no "Add Password" in the File menu. What can I do?
2
votes
1answer
850 views

Where does the process occur when zipping a file on a network mapped drive

I want to copy a number of large files that will compress well from a mapped drive to my local hard drive. Will zipping the files make the overall processing time shorter? What I am thinking is, can ...
0
votes
1answer
6k views

Change the “temp” folder used when zipping/archiving files?

I'm trying to zip up a huge file, but it fails since my C:\ drive doesn't have enough space. How do change it to use another drive?
4
votes
1answer
81 views

Can we use a cert to package a .zip file to let only people with cert can open the zip?

Except from using password, can I use a digital cert to assign for encoding the password to prevent people open the zip file? Thanks.
1
vote
1answer
115 views

Hop skip zip , Changing multiple Zip folders into real folders in Windows 7

Windows has the built in Zip capability, so I can hop right into a zip like it was a folder. That does not do a lot of good when you cannot work with the files in the zip. When downloading lots of ...
0
votes
0answers
140 views

Trouble handling zip files?

I'm trying to send a zip file to someone, but I'm having a lot more trouble with it than I should. I tried uploading it to 4shared, mediafire, and megaupload, but all uploads failed multiple times. ...
2
votes
3answers
1k 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 ...
0
votes
3answers
2k views

View the contents of Jars files? [duplicate]

Possible Duplicate: Can you configure Windows to open JAR files like ZIP files without a 3rd party tool? How i can view the contents of Jar files and enter to it like Zip files on windows 7 ...
8
votes
3answers
10k 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 ...
17
votes
3answers
35k views

How to unzip split files on OS X

How do I unzip a split zip file? In Terminal, I wrote: unzip filename.zip and it did not unzip this file. Terminal wrote: $ unzip filename.zip Archive: filename.zip warning [filename.zip]: ...
1
vote
1answer
259 views

Shell zip with unattended password

I have a script that runs some automatic zip generation using shell zip. The request is to add automatic encryption with password. From what I understand, the option -e is the right one, but it asks ...
0
votes
1answer
4k views

Why is the unzip with WinRAR so slow?

Why is the unzip so slow, if the processor is not 100% busy, disk I/O is not saturated, and there is enough memory? I'm using Win7 x64, but this was just an example. (The package can be anything big ...
8
votes
6answers
6k views

Which archiving method is better for compressing text files on Linux?

In my application I need do compress of logs that are text files. Seems that bzip2 and gzip have the same compression ratio. Is that correct?
2
votes
1answer
54 views

Extracting .rar files in Windows with current datetime

One thing I like about Windows zip files is that the extracted files automatically have the current time (as opposed to the original time). I have yet to find a way to apply the same for extracted ...
0
votes
1answer
2k views

Unzip file with underscore in linux?

I'm trying to unzip a file in redhat but I keep getting this when I run unzip filename.zip heckdir error: cannot create file_name unable to process file_name/bin/. I'm guessing ...
22
votes
4answers
39k views

What UnRar utilities are available for Mac OS X?

I have been using UnRarX ( http://www.unrarx.com/ ) and it's free and works well, but often times I will download a rar file in the browser and click on it in the recent downloads lists which will ...
0
votes
1answer
722 views

How to recursively `zip` all files of a certain type in a directory?

I want to use the zip command to create a .ZIP of a folder but only include .txt files. Subdirectory structure should be preserved!
0
votes
1answer
136 views

Unzip delete and unzip

I am having an issue with commad line unzip and am not sure how to correct this. I am unzipping a compressed file and it processes it correctly. If the zip file should have some files removed and it ...
14
votes
1answer
7k views

How to overwrite existing zip file instead of updating it in Info-Zip?

To obtain a fresh zip file just like as tar does, do I have to perform rm foo.zip before executing zip? $ mkdir foo; touch foo/bar $ zip -r foo.zip foo adding: foo/ (stored 0%) adding: foo/bar ...
2
votes
3answers
875 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
2answers
3k views

installer download vs zipped download

I was wondering when I have the option to download the installer vs the zipped package, which should I choose? What are the advantages of each decision? Taking Notepad++ as an example, what's the ...
2
votes
2answers
2k views

How to unzip zip archives that have more than 260 symbols in their name?

I have a big zip file (approximately 650 MB) that I want to unzip. I already shortened the name of the zip file to just 1 letter and stored it directly on the C: folder. So I can´t shorten the path ...
2
votes
2answers
6k views

Zip all files in a directory, but don't include the top directory in the archive

Can't quite figure out how to do this right. I have a folder with a website in /var/www I want to create a zip file with all of it, which when I decompress it does not include the top directory. In ...
2
votes
3answers
4k views

Terminal unzip outside default directory

Using terminal command "unzip" seems to be extremely useful when deploying a CMS to a remote server, since you can transfer a zip and unzip it remotely. However, I cannot find a way to unzip the all ...
0
votes
2answers
3k views

How to zip files in XP's command line without additional tools/downloads

After prowling google, and checking an old thread in ServerFault, I thought I would try here. Without any additional downloads, on a fresh install of XP SP3, how can I run a script to extract AND zip ...
6
votes
4answers
24k views

How to extract ZIP from self-extracting exe?

Well, the subject says it all. I have an exe that is an SFX, and I want to extract the ZIP from the SFX. How can I do that?
3
votes
3answers
4k views

ZIP file with metadata?

Is there any standard way to store metadata (e.g. timestamps) inside ZIP files, along with the files? What program would I need to use in order to do this?
0
votes
4answers
1k views

FTP Put a zip file that contains text files in Linux

I am transferring a file from a linux pc going to a windows ftp server using "ftp put". My file is a zip file that includes .txt files inside it. Here is what's happening when I transfered this file ...
3
votes
4answers
240 views

Has zip any advantages over bz2? [duplicate]

Possible Duplicate: How can I evaluate the best choice of archive format for compressing files? I've just downloaded phpBB3 and saw they offer a bz2 (1.51 MB) and a zip (2.35 MB) download. ...
3
votes
3answers
4k views

Will Windows viruses infect RAR or ZIP files?

I heard from some techie person that .rar and .zip files never get infected by viruses. Is this true? If yes, then why such behavior?
12
votes
1answer
2k views

How to do “legacy” ZIP compression with 7zip?

We have an old application that requires zip files to be "legacy" format. I would really love to get rid of the adware ridden WinZip and use 7zip. However, I don't know which compression options and ...
1
vote
3answers
3k 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
3answers
8k views

Unzip individual files from multiple zip files and extract those individual files to home directory

I would like to unzip individual files. These files have a .txt extension. These files also live within multiple zipped files. Here is the command I'm trying to use. unzip -jn ...
7
votes
2answers
5k views

Is it possible to password protect a zip file created by Windows itself (without external tools?)

I normally use a tool like WinZip, 7Zip, or WinRAR to create zip files but I'm on a Windows 7 system that doesn't have these tools installed (and I can't install new apps). Outside of 3rd party tools ...
8
votes
2answers
18k views

Linux: zip greater than 4Gb

I'm getting an error when I try and zip a large file on Linux because it is too large for zip to deal with. Anyone know what commands I can use to get around this? This is the error I'm getting: zip ...
8
votes
3answers
6k 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 ...
5
votes
3answers
12k views

What is encryption loss when unzipping?

When I drag files from a .ZIP file my friend sent me, it barks: Do you want to copy this folder without encryption?` A problem is preventing that folder from being encrypted. What's ...