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

2
votes
2answers
2k views

Extract a zip file to your own directory

Im trying to extract the contents of a zip file but I want to extract it to my own directory. I'v tried -d from unzip but that just puts the contents of the zip into that directory. But I want to ...
1
vote
1answer
2k views

Trouple unzipping a 4GB .zip file on CentOS 5.5

I am in the process of moving from a windows to a linux box. I zipped a folder of images on the windows box and ftpd it to the linux box. When I try to unzip the file I get: error: Zip file too big (...
4
votes
3answers
309 views

How to pass a file that changes name to another command in Bash?

I frequently use wget to download tarballs and zip files from the web, then either untar then or gunzip them. I do: wget google.com/somefile.zip unzip somefile.zip rm somefile.zip Is there a way ...
0
votes
1answer
140 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 ...
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 ...
3
votes
1answer
543 views

Using FileZilla to upload and unzip my web site via SSH

I'd like to upload and thenunzip my zipped web site on my web host service which manage SSH connections too using Filezilla. I wonder if is it possible to use only that application to do both ...
2
votes
2answers
884 views

unzip command line to sync destination folder

Is there a way to unzip a .zip to a folder and sync the contents of that folder with the contents of the .zip? I know you can do an -u(pdate) option that will update the folder with newer files, but ...
0
votes
3answers
1k views

Unzipping files using Shell Script

All, I have an app where user picks up a zipped folder which a shell script unzips and then renames for processing. The zipped folder will always have the following naming convention: "...
5
votes
3answers
554 views

Can a Zip File Become Damaged from Repeated Unzipping?

I use a mac and have a zip file that contains a base set of files that I use over and over. Every time I need the set of files for a new project, I simply unzip the zip file and they are ready for use....
0
votes
1answer
866 views

How to unzip files that contain .DS_Store from a different computer?

I'm trying to unzip folders that contain .DS_Store files from another computer and because of this, i cannot unzip the folders. I keep getting the error: Error - unable to expand into downloads (...
2
votes
1answer
1k views

Find out the name of a folder in a root directory inside .zip file

I'm using Fedora 17 and bash as my shell. I have a specific zip file, which has just one folder in it's root. I.e. upon unpacking the zip file i see the following: > unzip myzip.zip> lsmyzip....
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 ...
12
votes
2answers
22k views

how to specify the unzip target directory

Is there an option on linux zip command such that I can hard code the target directory it unzips into. For example, I would like to zip ./mydir files into myzipfile.zip but I want the unzip command to ...
1
vote
0answers
355 views

force unzip to also delete any missing files

Currently when I unzip into a directory with pre-existing files, I sometimes unzip an archive to update the files, using -f or -u or -o to overwrite any clashes. However I would like the unzip ...
1
vote
2answers
726 views

How can I determine if multiple .ZIP archives are encrypted/password protected?

Preferably lists what is and is not encrypted/password protected as a .txt I'm currently trying to figure out Unzip without much success. I just need to know if the .zip is password protected.
2
votes
3answers
3k views

unzip zip files that are contained in a zip file on windows

I have a zip file results.zip. It contains two folders that contain a bunch of zip files -- PASS/test1.zip, FAIL/test2.zip, FAIL/test3.zip. On linux it is trivial to unzip these in a couple of steps: ...
0
votes
2answers
922 views

How to zip and unzip files on mac OS without losing creation date and time?

On a Mac, When I zip and unzip files using finder or using zip/ditto from command line, I lose the creation date of the files/folders and the creation date is automatically set same as the ...
0
votes
1answer
118 views

Does Unzip only accept one criteria?

I am using unzip to extract files from a mass filer device where ZIP files are stored. unzip -o somefile.zip -c *somecriteria* -d somedirectory It works well but when I attempt to add another ...
-2
votes
1answer
199 views

Read the contents of a zipped file without extraction just 1 level?

unzip options -t and -l lists entire zip, even sub directories. Is there an option of unzip to read contents just 1 level ? It should list immediate contents of zip. It should not list contents of ...
2
votes
2answers
4k views

How do I unzip a compressed file as it's downloading?

I'm downloading a large file that's not an archive, and I want to combine the tasks of downloading and decompressing. How can I do them simultaneously?
0
votes
2answers
1k views

How do I batch decompress so that each file unzips to separate folder?

Does anyone know how to unzip a highlighted list, so they unzip to folders of file name (under Windows)?
6
votes
2answers
14k views

Unzipping files in unattended mode

When I use the unzip command from Linux machine and the files under ZIP already exists on my local directory, I get the interactive question: (if I want to replace the files from the ZIP with the ...
4
votes
2answers
7k views

In Mac OS X, how can I edit a jar file without unzipping?

How can I edit the content of a jar file without unzipping its content in Mac OS X? 7z client allows this on windows but I could not find a similar way to do this on Max OSX. By editing i really ...
3
votes
0answers
787 views

Unzip Multipart Zip from Command Line

Thanks in advance for any help. I am trying to unzip a multipart zip file from the command line in OSX 10.8.5. I created the zip using zip -s 800m foo.zip foo.mov The file foo.mov is 2.7GB. So I ...
1
vote
1answer
698 views

uncompressing .zip file in linux

I have a .zip file (It contains multiple files, ex: file1.txt file2.txt file3.txt.. n so on) in a directory. And my query is: How to extract the files from .zip archive to the very same directory ...
0
votes
1answer
688 views

How to unzip a windows-built .tar.gz in linux?

i wanna transfer files from my windows pc to linux server. suppose i have a file structure like this: img / logo.gif css / style.css index.php i tar.gz the directory, then upload, and then ...
9
votes
1answer
299 views

How did this ZIP file print to my command line when I extracted it?

I downloaded a font from www.fontspace.com today. It came in a basic .zip file and so I moved it into its own new folder to extract it (I'm tired of extracting things just to find that they were ...
2
votes
2answers
2k views

How do I unzip a file with PPMd compression: I have the error “PPMd method not supported”

Ubuntu/Windows 7 user here, I have a zip file that I am trying to extract. In windows I get an error. In Ubuntu, the archive manager I get a "PPMd method is not supported" I read about 'e', a ...
35
votes
1answer
23k views

Remove single file from zip archive on Linux

I have a zip archive (created automatically in a script with -j -r flags) and I would like to remove a single file from it. I tried as documented. zip -d "picture_43_9.jpg" gallery.zip but I get ...
1
vote
1answer
17k views

How can I extract a password-protected file a zip archive?

I have a zip archive with several files. Zip can password protect individual files (not just the whole archive) and I have such a protection on one file. How can I extract this file if I no longer ...
1
vote
3answers
6k views

Is it possible to rename files in a zip archive before extracting?

I pulled a zip file from the web which was packed on a system where filenames were encoded in a format my unzip program fails to read. Perhaps the file-system does not support those weird characters, ...
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 /path/to/zipped/files/...
2
votes
1answer
227 views

Linux Unzip with exclusions from .txt file

I have an unzipping script on Linux. It attempts to unzip with the command: unzip file.zip This is obviously successful. I now wish to exclude some files. The manual tells me of the -x option. I ...
2
votes
3answers
2k views

Windows command line ZIP extraction with checksum or similar?

What I need to do, at the command line, is: Extract the contents of a a ZIP archive. Change an arbitrary number of the extracted files. Repeat step 1, but because it is a huge archive, only extract ...
5
votes
3answers
7k views

unzip how to trim top directories

I have a zip archive. The unzip -l myarchive.zip command gives this listing: top/subtop/files/1.txt top/subtop/files2/2.txt etc The root folders are top/subtop for all files. How to extract those ...
2
votes
2answers
2k views

How can I recursively extract zip files on Windows including deletion?

How can I recursively extract zip files on Windows? Each zip file should be unzipped in a new subdirectory, and the zip file should be deleted afterwards. Each existing or created directory should be ...
9
votes
2answers
22k views

Trying to unzip a file, 'Filename not matched' when the directory exists

While trying to unzip a file named Joomla_3.0.3-Stable-Full_Package.zip to the directory named joomla I get filename not matched. Why is that? [root@Feddy Joomla]# unzip -Z Joomla_3.0.3-Stable-...
1
vote
0answers
25 views

Double clicking on a Zip file in Finder re-downloads it from web

I'm experiencing a strange behavior, after downloading any zip file, when I double click it, expecting it would open, instead it reconnects to its website and re-downloads itself. The file is opened ...
9
votes
3answers
6k 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 ...
1
vote
2answers
12k views

How to troubleshoot if a zip file is valid or if it is big file size to be unzipped?

I am trying to unzip a file with the size of 2GB I am getting the following error : unzip CLTE_C_08.zip Archive: CLTE_C_08.zip End-of-central-directory signature not found. Either this ...
2
votes
2answers
10k views

Unzip file from source to destination within user directory across multiple versions of windows

I have a source zip file which is located in a user's "My Documents" directory. It is guaranteed to always be there. I'm looking for a way to create a batch or script which will let me unzip that file ...
1
vote
1answer
122 views

Cannot open large concatenated zip file with unzip, though it opened fine with Archive Utility, get a central directory error

I have downloaded a 7Gb zip file full of pdfs and movies in four (4) parts from an ftp server. I concatenate these four files into a single zip file on my machine and it unzip just fine with my Mac's ...
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
50 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
220 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
257 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
504 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
135 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
216 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
157 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: ...