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

3
votes
4answers
7k views

Linux Mint 12 - how to open a .zip file in terminal

The question above about covers it- I am so very sorry, I see the answers all the time but, though very explicit, I just can't apply them to my terminal. I have a zipped folder, I can't open it in ...
0
votes
1answer
54 views

How to check permissions in a zip on RHEL?

I have very little exposure to RHEL, and was quite surprised to find that unzip -l and unzip -lv do not include file permissions. I see that extracting files eventually restores the permissions, but I ...
1
vote
1answer
234 views

Unzip Interrupted

I want to unzip a bunch of files. The unzip process may get killed part of the way through. I'd like to continue unzipping with, say unzip -n, but it seems as though if a file was only partially ...
2
votes
2answers
264 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 ...
0
votes
1answer
539 views

VBS unzipping - object required: 'objshell.NameSpace(…)'

I know very little about bash or vbs. I am trying to make a script that will automatically unzip a zip called 'dungeon.zip', which contains a little game I programmed. I want to unzip it to a folder ...
0
votes
1answer
139 views

Unzip all zip files in a directory without overwriting?

I'm working in OSX. I have a lot of zip files in a directory called data and I would like to unzip them all: $ ls data 62.zip 63.zip 64.zip ... I'm using the following command: unzip -d data "data/...
1
vote
1answer
232 views

Suppress extraction of __MACOSX directory when unzipping

ZIP archives produced on Mac OS X systems usually include a __MACOSX directory which is useless, annoying, and unwanted on pretty much every other OS. For unpacking ZIP archives I use Info-ZIP, which ...
1
vote
1answer
170 views

Unzip a file into a target directory?

I have a file called All CRGs.zip and I want to unzip its contents into a directory called data (which already exists and has some other files in). Is this possible? I'm working on OSX. I've tried: ...
2
votes
2answers
3k 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 ...
3
votes
0answers
182 views

Unzip multipart files created from Mac in Windows

This is how I created a multipart archive from Mac; zip -r -s 1g archive.zip long\ folder\ name/ This creates files like archive.zip, archive.z01 and so on. Now I am trying to unzip this archive in ...
1
vote
1answer
190 views

Linux unzip: don't prompt user

I need to unzip a file in my nodejs script: var exec = require('child_process').exec; var execOptions = { timeout: 15000 }; exec('bash unzip.sh', execOptions, function (error) { ... }); 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
0answers
25 views

Replace zip with truncated version

I have multiple zip files structured like blah1/blah2/blah3/dirs/files where the blah directories are single folders, and multiple folders and files reside in the dirs and files levels. Is there any ...
3
votes
3answers
2k views

Is there a solution to the zip/cpgz cycle after downloading from Dropbox to Mac?

I've downloaded a file to my computer from Dropbox and am now suffering a zip/cpgz cycle! Instead of unzipping the downloaded zip file, my iMac converts it into a cpgz file and when I click to open/...
10
votes
3answers
14k views

Unzipping file whilst getting correct permissions?

I unzipped a file on my server using: unzip filename However this seems to have caused all the files having owner/group permissions of 0 0. The files I uploaded were a PHP software script, so I'm ...
1
vote
1answer
64 views

Unzip files in alphabetical order

Is there anyway to unzip to stdout in linux by alphabetical order? I am unzipping to a fifo file and the files are coming out of order
68
votes
3answers
3k views

Windows File is ludicrously huge and I cannot unzip it

I use an online file backup service (Backblaze) and recently got a new computer. Several files on my old computer were too large to move via my usb drive so I decided to download them from my backup ...
0
votes
2answers
52 views

How can it be that a ZIP file contains multiple files with the same name in the same subdirectory?

I had been extracting Free Pascal source code into an empty directory using Midnight Commander (under Mac OS X, which does distinguish between lowercase and uppercase AFAIK) and have been asked if I ...
2
votes
0answers
79 views

How to zip up folder contents and save the zip files inside the original folders

I have a large folder containing a lot of folders. How can I zip up the contents of each of the subfolders, and save the resulting zip files inside the respective subfolders for which each archive was ...
0
votes
0answers
1k views

is it possible to unzip z01,z02… without .zip?

I have multiple z01,z02, but missing a zip file. Is it still possible to unzip? If not, is there any repair tool that you recommend?
0
votes
0answers
1k views

Missing “Send to compressed folder” option. Anyway to restore?

Prior to Windows 10, there was a "Send to compressed folder" in the File Explorer. Is this really no longer there? Any secret switch to turn it back on? Not a fan of installing 3rd party hacky ...
28
votes
2answers
30k views

How to list the contents of a zip along w/ file sizes and compression ratio via cmd line

How do I list the contents of a zip along w/ file sizes and compression ratio (or packed size) on osx w/ command line tools?
3
votes
2answers
7k 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
0answers
47 views

Serve auto-generated zip files with small footprint

I currently use mod_zip/nginx(for automatically generating zip files). The (very very big) issue with mod_zip is - when it accepts range requests - it doesn't pass ranges to subrequests. What ...
1
vote
0answers
19 views

Extract file from corrupt archive

I am trying to extract a single large file from a multipart zip archive. The file contained is correctly identified by pretty much any tool used, but I didn't have much luck in extracting it. Any ...
0
votes
3answers
239 views

Zip a folder on a daily basis (mac)

I have an online backup utility (zipcloud.com) And i scheduled an upload of projects folder every day at 12pm. Thing is my projects folder contains a lot of files so i thought the best I could do is ...
0
votes
1answer
45 views

How do I alter this “Zip multiple files” script (mac os) to remove the extension from the output?

I use this script to zip multiple files into individual zip files (though an automator service, so Bash) for f in "$@" do zip -j "$f.zip" "$f" done it works perfectly BUT, the zip file has the ...
0
votes
0answers
33 views

Self extracting Zip file using php

I want to create a Zip file using PHP and once after double click on that zip folder it needs to extract and execute the .exe file in it . how i can do this please suggest me.
3
votes
2answers
2k views

Can a zip file be executable?

Can a zip file executable? For instance can you have a virus in the form of a zip. Obviously a virus could be inside a zip file but can the actual zip execute? The reason I ask is I have a website ...
0
votes
1answer
133 views

How to zip folder to odt format

I extract .odt(open office) file and make some manipulation on it. And then when I want to zip file back I have an issue. for example if I enter to the directory with unzipped odt file and I do ...
8
votes
6answers
7k 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?
19
votes
5answers
20k views

Is there a way to edit files inside of a zip file without explicitly extracting them first?

I sometimes need to make changes to a .zip or .jar file, so I usually move the file to /tmp, extract all the files with unzip, edit a few files, and then re-zip up the files. This works, but it can ...
4
votes
1answer
5k views

How to zip a list of files in Linux

I have many files I need to zip into a single directory. I don't want to zip all the files in the directory, but only ones matching a certain query. I did grep abc file-* > out.txt to make a ...
0
votes
0answers
22 views

How to completely password protect a zip file [duplicate]

I have 7-Zip and Total Commander installed - both can create ZIP files with password protection, but it's applied only to files inside, opening of the ZIP file itself happens actualy without the ...
0
votes
1answer
42 views

how to zip a directory with its files using Terminal on Mac

i am trying to zip a folder with files in terminal using zip -r myzipfile.zip myDir but this doesn't include the files What should i do ?
1
vote
1answer
243 views

How to zip a folder recursively, but only selective files, in Windows?

For example, I have this directory structure: [C:\] + [Documents] + [Work] + [Presentation] - Presentation A.pptx - Presentation B.pptx - Presentation C.pptx - ...
0
votes
1answer
82 views

7zip tries to compress files and folder outside of the path

I use the command line of 7zip, 7za, to compress a folder, on Windows web server 2008 R2. 7za.exe a -tzip -r %nome_file% "C:\inetpub" I expect it to compress everything inside the folder "inetpub, ...
1
vote
3answers
2k views

Windows 10 changing .zip file association

I have 7-zip installed and it hasn't changed the default file associations. I've changed the associations for .rar and .7z, but I can't find a way to change .zip. I looked in Default Programs\Set ...
1
vote
0answers
30 views

Embedding zip file in word which is “Restricted”

i have a word document which is protected. (Protect Document -> Restrict Access -> read access to all users). This is to stop users from copying the contents. So far it's fine. But when I'm trying to ...
0
votes
0answers
97 views

Cannot unzip file created from stdin pipe on Mac

On Linux I created an image of an sdcard on a Linux system and zipped it with the following command: dd bs=1M if=${device} | zip ${outfile} - I created the zipfile this way because there isn't ...
-1
votes
1answer
53 views

Create multiple zip files

I have a bunch of files that I would like to zip, I need a script to recursively run through a directory and find all files with name test*.txt as an example. That is the easy part, so I have used ...
53
votes
2answers
85k views

Linux unzip command: Option to force overwrite?

I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace ...
0
votes
1answer
44 views

Unzipping results in a file, not a folder

I zipped 6 files (total size = 2gb) using gzip -c myfiles_* > ~/myzip.gzip on server A and got my friend to copy this server to server B. Now I've learned that the file is supposed to be named .gz ...
1
vote
1answer
107 views

7-Zip command line - do not extract certain file types

How do I extract all the files in a 7-Zip .7z archive EXCEPT certain file types, using the 7-Zip command line? Example: backup.7z contains files of type: .xls .xlsx .doc .docx .pdf .txt .png .gif ...
2
votes
1answer
146 views

Batch Script for backup

I need a batch script that will zip up all files in a particular directory and save it to another directory in a YYYY/MM/DD-HH/MM/SS format. I've seen things similar but not sure about this. Thanks!
8
votes
5answers
3k views

How is it that during extraction of a zip, I get two files of the same name in the same path?

I'm extracting a zip (self-extracting, but that probably doesn't matter) and for a few files I'm getting a dialog asking me if I want to replace a file that was already extracted with a file that's ...
1
vote
2answers
5k views

Can Not Start Glassfish 4.1 Server, Download, Unzip, Install, Windows 8.1

Before I start I wanted to say, I have to put a space in many of the links because I am new to superuser & have restrictions. You'll find the spaces http:// (HERE) localhost:4848/. I'm sorry for ...
1
vote
3answers
176 views

Is there a way to download parts of the content of a zip file?

If there is a big zip file uploaded on a server, and all you need is some of it's content, is there a way to open it, and choose what you want to download?
0
votes
0answers
34 views

Execute command triggered by Unzip?

I know this is a long shot (and probably a juicy attack surface), but is it possible to execute a command or script in a ZIP archive triggered when the archive is extracted? In this question, I'm ...
14
votes
9answers
29k views

Extract large zip file (50 GB) on Mac OS X

I was trying to move the files to another hard drive. So I archived all my photos in one large ZIP file using the Mac OS X built-in compress function. But the file failed to extract. I've tried ...