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

22
votes
7answers
38k views

Which is more efficient - tar or zip compression? What is the difference between tar and zip?

I'm working in Linux environment and want to know about tar and zip commands. Which is more efficient - tar or zip? I also need to know the differences between the tar and zip commands. Can anyone ...
11
votes
4answers
27k 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?
0
votes
0answers
4 views

Determining Command ran by SEZ

I have a Self-Extracting-Zip which unzips and installs the software contained within, which in this case is a customised version of SQLXpress. I want to get this software to install silently, so I ...
0
votes
1answer
2k views

Full path while zipping?

I have the following files: ~/Dir1/file1.txt ~/Dir2/file2.txt Then I use the following command: cd ~ zip out.zip /Dir1/file1.txt /Dir2/file2.txt In the out.zip i can see two directories (dir1 ...
0
votes
0answers
44 views

How can I use the windows GUI to do the equivalent of linux touch on multiple files?

This is very similar to this question: Windows equivalent of the Linux command 'touch'? The difference is, I'd like to set the date modified to "now" from the GUI. The above question may ...
4
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
1answer
133 views

zip file (with spaces in the files name) to unzip and rename files and zip back

I'm trying to rename the contents of a zip file to match the name of the zip file with a batch file. This is exactly what I'm trying to do : ...
2
votes
1answer
294 views

filter thunderbird email by attachment type

I'm getting malware sent to me as .zip attachments that are zipped up exe files. I want to setup message filters to catch them but I can't seem to find a way to do that. I tried setting up a customize ...
2
votes
1answer
48 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
0answers
50 views

Modify ZIP Folder Context Menu To Include “Unblock” Option, Or Other Solutions

Is there a way to modify the Explorer zip folder context menu so that when you right click on an empty space while browsing a .zip file in Explorer it will show an "Unblock" option? I already added ...
0
votes
0answers
31 views

(oldie not working on Win 8.0 x64?) Command prompt (.vbs) only solution to zip files and folders (batch .bat .cmd)

I worked with Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files? zip.vbs: Set objArgs = WScript.Arguments ZipFile = objArgs(0) ' Create empty ZIP ...
0
votes
1answer
42 views

OSX's command line zip creates root directory

I'm trying to compress files, directly into a zip. What happens is that the zip automatically creates an initial directory in the zip with the name of the zip. Example: zip -r0 myfile mydir/ Will ...
0
votes
0answers
27 views

Error: cannot download “pecl/zip”

I have two servers, one of them is a raspberry, the other one a normal PC with Ubuntu. On both I need the pecl extension zip for my php script and on btoth of them I ran into the same bug which seems ...
0
votes
1answer
1k views

Unzipping archives, preserving folder hierarchy

I've got a problem and am not sure what it is, but hope someone can help me think this through because this has me stumped. Backstory: I wrote a Java app (Android) that unzips some zip files ...
1
vote
3answers
3k views

How can I open a .alx or .cod or .prc or .sis file on a computer?

I found a .zip file of something, and I downloaded it. Inside it were only a .alx and a .cod file (presumably of the same thing). I don't have a Blackberry. Is there a way to open one of the two of ...
10
votes
8answers
3k views

Does it take longer to download a zipped file than an unzipped file?

I once read somewhere that it takes longer to download a zipped file than an unzipped file of the same size, due to the nature of the zip file. Is this true or nonsense? edit: i'm speaking about ...
0
votes
1answer
128 views

Merging 2 zip files

I have 2 zip files: file1.zip file2.zip I want to compare the two zip files and then only extract the files missing in file2.zip (directory structure intact) so that I can merge them in. ...
1
vote
2answers
51 views

7-zip extras for Linux

I want to pack a folder containing various resources and executables into a single self-extracting file and execute a command after that, "setup.exe" for example. I've successfully accomplished that ...
2
votes
1answer
5k views

Identifiying a zip file that is not really a zip file

I have several files that a 3rd party program generated that have a .zip extension, however neither windows nor 7zip can extract it. In 7zip it does show me the file name of the uncompressed file ...
0
votes
0answers
63 views

Why is the output of this zip file automatically encrypted?

I just downloaded a zip file and extracted it using Windows 7's built-in zip extraction (right-click on zip file --> "Extract All..."). Somehow it resulted in folders that are automatically encrypted ...
1
vote
1answer
405 views

Avoid unwanted path in Zip file in makefile

I want to create an archive for a given folder but without the folders name in the path... In fact I want to do the same thing that this post : Avoid unwanted path in Zip file BUT I'm in a makefile ...
19
votes
5answers
17k 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? ...
0
votes
1answer
584 views

Windows folder has readonly attribute that cannot be removed

I have a zip file containing Eclipse workspace. When I unzip it all the extracted folders have read only attribute set to true. When I uncheck "read only" in properties dialog and click apply the ...
-1
votes
1answer
148 views

How to rename 7-Zip split files as name_00N.zip instead of name.zip.00N

On Windows, when I create .zip split files with volumes less than 20MB with a command like: 7z a name.zip files\* -v20M I get one or more files named name.zip.001, name.zip.002, etc. I need to ...
0
votes
0answers
35 views

How to download single large size zip file into chunks from internet

The network on which i'm connected having restriction that I can't download single file which has size larger than 100 MB and I want to download a large single zip file (around 1.1 GB) from internet. ...
0
votes
1answer
107 views

Zip files that are downloaded get corrupted many times randomly

I regularly download my torrent directly, instead of using a client, via filestream. Lately I've noticed that my downloads get corrupted many a times, especially zip files. Yesterday I downloaded a 8 ...
0
votes
2answers
488 views

zip: Unexpected end of archive

When I try to extract my 1.15GB downloaded .zip file am getting following error: ! D:\N750XXUCNG6_N750ODDCNG5_INU.zip: Unexpected end of archive I have tried this ...
1
vote
2answers
556 views

How to make index of all files in directory, including subdirectiories and contents of ZIP files?

I need to make list of all files and folders in directory and its subdirectories, including contents of ZIP files. Is there any program that can create nice list of contents?
1
vote
1answer
1k 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. ...
0
votes
0answers
19 views

Compressing an OS after some slight changes has yielded massively different results - why?

I am using SUSE Linux on a Virtual Machine through VMWare Workstation. This morning, I zipped up a copy of the folder containing my VM (.vmx, .vmdk, .vmem, single snapshot and all) and sent it to my ...
2
votes
2answers
8k 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' ...
7
votes
5answers
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?
0
votes
2answers
127 views

Linux zip and exclude directory in Bash script

I am trying to write a bash/shell script to zip up a specific folder and ignore certain sub-dirs in that folder. This is the folder I am trying to zip "sync_test5": My bash script generates an ...
1
vote
4answers
5k views

Free commandline Zip utility for Windows? [closed]

I'm trying to create scheduled task for copying a directory tree containing a very large number of small files from one server to another. Copying the tree directly takes a couple of days, so I was ...
6
votes
3answers
192 views

When putting two identical files in a .zip, they take 2x space, can this be avoided

Say that you have a file you want to put in a .zip archive: zip a1.zip foo.dll My test .dll file is ~10MB, and the archive turns out to be 3.5MB Then you create a file with the exact same ...
20
votes
6answers
15k views

On Linux/Unix, does .tar.gz versus .zip matter?

Cross-platform programs are sometimes distributed as .tar.gz for the Unix version and .zip for the Windows version. This makes sense when the contents of each must be different. If, however, the ...
1
vote
1answer
48 views

Compress / Zip a folder periodically but use minimal CPU?

Similar to this question except, I need it to run with minimal CPU on the background? Also, if there's a 7zip solution that will be nice.
0
votes
0answers
52 views

Have a self extract archive extract to specific folder

How can I create a self extracting archive that will extract the contents into a specific folder? Any program or method is acceptable on windows.
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 ...
3
votes
4answers
305 views

Multiple [Stand-alone] zip files creation?

How can I automatically zip a group of files into multiple zip files (say, 2mb in size for each file), and that each zip file is a stand-alone zip file? (i.e. not mult-volume zip files, that you can't ...
0
votes
1answer
172 views

Using a .bat file to pull a string from a text file within a zip folder

So, please bear with me. This is only the second batch file I've ever written and my first post anywhere on StackExchange. I'm writing a batch file that tells a remote server to run HP Array ...
0
votes
3answers
55 views

Zip Icon changed to a blue 'A' associated with fontview.exe

I made the mistake of associating fontview.exe in the right click "Open With" window, trying to install a font from a zip folder in Windows 7. Now all my zip folders now have a blue "A" on them and ...
0
votes
0answers
32 views

Downloading files from zip and extracting suddenly extracts random things?

I recently downloaded a gmod map of 5 mb and I got like 70 gb left as storage. Now I tried extracting the map to the desktop and all of a sudden it says:"Cant extract, need 11.7gb to extract" So I ...
0
votes
1answer
46 views

intercept zip file download request to view contents?

user 'A' downloads a zip file from a web server via HTTP/HTTPS, and after downloading he immediately deletes that zip file from server. In this scenario,can user 'B' (not having direct access to ...
20
votes
4answers
2k 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 ...
34
votes
5answers
3k 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
2answers
12k 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 ...
0
votes
0answers
59 views

Batch Script to ZIP Together Files With Same Names

I have 314 vector images I'm looking to submit to the various stock image sites I'm a contributor to, but a number of these require that the vectors be bundled into a ZIP folder with a JPEG preview ...
-1
votes
2answers
124 views

Make a zip file, from string

I am downloading a zip file from the internet and I get it as a plain text string. I now want to save this to the disk, but how should I convert this text string to a file buffer? What is needed to be ...
3
votes
0answers
43 views

Compressed file with a header containing all files within it, at the beginning of the file

I have noticed that most files resulting from a compression / archive process do not have a list of the files contained at the beginning of the resulting file, but rather at the end of it. For ...