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

0
votes
2answers
6k views

Unzip error “End-of-central-directory signature not found”

I have a ZIP file that open in Windown/MS Word, (actually it is a .DOCX file). Opening it with LibreOffice / Mac produces: General Error. General input/output error. File says: ../Commission ...
0
votes
1answer
15 views

Delete a file inside multiple ZIP archives on the OS X command line

I'm trying to delete files with specific extensions from multiple zip archives. For example I want to delete all .html files contained in the zip archives in the current path so I have tried this: ...
0
votes
3answers
3k views

Installing setuptools for python 2.7.3 on SL6 returns an error that I don't have zlib. But I do

I have a machine running Scientific Linux 6 It comes with Python 2.6 by default I've also installed Python 2.7.3 because I need to run some modules which only work with newest versions. This is ...
1
vote
0answers
13 views

Zip settings. How to concatenate results from multiple zip files?

So I was one of those fools that didn't realize that Windows 8.1 has removed the windows 7 recovery option for restoring old backups. Now I have a backup set (A folder containing ~1500 zip files) ...
7
votes
5answers
3k 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?
3
votes
3answers
2k 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 ...
2
votes
1answer
2k views

How do I add files from a directory to a .zip-File using the 7zip command line?

I am using the 7zip command line to zip-up files. How can I add all files and subdirectorys from a folder to a zip file (.jar archive file)? I used: 7zip.exe a -t7z file.zip C:\folder Thank you.
2
votes
1answer
932 views

Create .zip's on OS X without the “extra” MacOS files (like .DS_Store, MACOSX folder, etc) [duplicate]

Possible Duplicate: Compressing folders on a mac, without the .DS_Store OS X includes undesired, "extra" files when creating .zip's of folders that look poor in Windows & Linux. How to ...
32
votes
9answers
5k views

How to uncompress a 9GB file in Windows FAT32

I have a 2GB RAR file that contains a 9GB video file. I'm using a FAT32 file system. Now I want to unzip that file but after 4GB I get an error due to the FAT32 file size limit. Now I want to know ...
0
votes
3answers
59 views

Can you get virus by clicking .zip file?

I tried to uncompress a zip file but I get error “The compressed (zip) folder is invalid or corrupted”. Is it possible to get virus just by trying to uncompress the zip? Can zip extension be ...
1
vote
2answers
2k views

Large zip files content is corrupted when unziped using windows explore

We have a large zip file (25GB) containing mosty pdfs and png files. (about 150000 files) When we unzip the file using windows explore some of the content is corrupted. Some png files shows content ...
1
vote
2answers
152 views

Can a zip file contain hidden files?

In Windows, a file can have an attribute marking it as hidden. In linux, a file's permissions can be set so that some users can not read/write the file (making it somewhat hidden to some users). Can ...
0
votes
0answers
26 views

Linux create zip file with custom directories in it

I'm new here. My task is to create a zip file from php code. I need to password protect it and the server runs php 5.5 and password protection is not supported there so I need to execute a command ...
9
votes
4answers
13k views

Best Secure Encryption for Zip Files via Linux

I want to use highly secure encryption for zipped files via Linux/Ubuntu using a command line terminal, what is the best command line tool to get this job done? zip -e -P PASSWORD file1 file2 file3 ...
7
votes
3answers
4k 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 ...
0
votes
4answers
31k views

“The compressed (zip) folder is invalid or corrupted” error after downloading zip file - sometimes, but not always

I have a zip archive of ~250Mb located on an Apache HTTP server. Several users have complained of a "corrupt zip folder" after downloading the file directly from the website (albeit the site is built ...
0
votes
2answers
1k views

Why does Windows Media Center try to open zip files?

Notes: OS is windows 7, browser is latest firefox. After saving a zip file to the desktop, Windows Media Center opens up. I looked around its config settings but could not find anything related to ...
2
votes
4answers
2k views

DVD/CD burning .zip: is it more reliable, faster, longer lasting to burn a zip of files rather than the files as a folder?

Is it more reliable, faster, longer lasting to burn to CD/DVD a zip (or a few large zips) of files rather than the files as a folder? Just thinking if 1000s of small files would not be as efficiently ...
0
votes
1answer
341 views

Update a file inside zip with -u

Alright so i have a zip file called data.zip on my desktop. Inside test.zip is another folder called res and inside res is a file called info.txt I have used the zip -u command before to move a file ...
14
votes
5answers
11k 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 ...
16
votes
4answers
16k 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?
2
votes
2answers
404 views

7 zip archiving directory recursively

I zipped my old windows dir with 7 zip. It zipped the "Application Data" many time (hundreds) as shown here : C:\Windows.old\Application Data\Application Data\Application Data\Application ...
2
votes
0answers
18 views

Splitting a zip archive

I have a zip archive containing a big directory tree with many files. I'm using an application that does something with zip archives. The problem is that the application has a limitation on how many ...
0
votes
2answers
347 views

How to restore the ZIP icon on a file? [duplicate]

Possible Duplicate: How to restore Windows default Zip file functionality? I downloaded a game which was at first in a ZIP file. I don't know how but now every time I click it, it opens in ...
0
votes
1answer
20 views

Can i save modification in compressed file folder? [duplicate]

When modifying documents that are directly opened from compressed file folders like RAR or Zip, I normally close them without dragging the files out of the rar or zip file. I used to do this in the ...
1
vote
1answer
334 views

File was deleted and then reappeared when folder was zipped

I am using Backtrack 4 Final, which is a Linux distro that is Ubuntu based. I had a directory that contained around 5 files. I deleted one of the files, which sent it to the trash. I then zipped the ...
21
votes
7answers
35k 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
24k 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 ...
57
votes
8answers
52k views

Zip Linux - View files in archive

How can I view the files in a zip archive without decompressing it ?
0
votes
0answers
22 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
62 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
282 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
34 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 ...
28
votes
5answers
33k 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.
0
votes
0answers
21 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
29 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
21 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
955 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
119 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. ...
0
votes
2answers
39 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
42 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
365 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
16k 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? ...