Unzip is the process of archiving or decompressing a zip file.

learn more… | top users | synonyms

29
votes
1answer
49k views

How do I unzip a tar gz archive to a specific destination?

I want to unpack a .tar.gz file to a specific directory. The archive file is in /root/Documents. I want to unzip it into /root/Desktop/folder. The folder structure in zipped file should be preserved ...
18
votes
9answers
243k views

How to extract a tar file (.tgz) in windows?

How to extract a tar file (.tgz) in windows? Is this possible, or do I have to get into a linux environment and extract it?
16
votes
1answer
8k 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 ...
10
votes
2answers
11k 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]: ...
9
votes
1answer
258 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 ...
7
votes
2answers
4k views

In Mac OS X, how can I unzip a zip file without unzipping its contents?

I have a zip file that contains another type of archive (in this case, a jee app server WAR file, but this happens with other contained archive types as well). When I unzip the zip file, instead of ...
5
votes
3answers
395 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 ...
5
votes
1answer
3k views

Unzip returns “Unsupported compression method 14”

I recently downloaded a large number of GIS data files from a government agency to a file server and need to unzip all of them via the command line. However, unzip filename.zip is returning ...
4
votes
2answers
6k 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
4k 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 ...
4
votes
2answers
3k views

Equivalent to tar's “--strip-components=1” in unzip?

I have a script that extracts a tar.gz-file to a speificed subdirectory mysubfolder: mkdir mysubfolder; tar --extract --file=sourcefile.tar.gz --strip-components=1 --directory=mysubfolder; Is there ...
3
votes
3answers
243 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 ...
3
votes
2answers
6k 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 ...
3
votes
2answers
8k 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 ...
3
votes
3answers
3k 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 ...
3
votes
1answer
415 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 ...
3
votes
3answers
976 views

Unzip file in bash where extracted folder name does not match zip file name

I have a shell script where I unzip a zip file and its contents will always be one folder. In my code I was assuming that the name of the zip file will be reflective of the folder name (e.g. folder ...
2
votes
4answers
2k views

Good and free unzipping software for Mac? [closed]

What is a good and free unzipping software for Mac? Good as in...supporting different types of compressed files and can unlock password protected ones. The built-in one on Mac doesn't do a good job ...
2
votes
2answers
4k 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. I files I uploaded was a PHP software script, so ...
2
votes
2answers
2k 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?
2
votes
1answer
7k views

Batch the “Extract Here” command

I would like to batch the "Extract Here..." command on a complete folder. Every type of archive should be unzipped into the current folder with the name of the archive file. I have found some BATCH ...
2
votes
1answer
586 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> ...
2
votes
2answers
1k 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 ...
2
votes
2answers
1k 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 ...
2
votes
2answers
1k 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 ...
2
votes
1answer
69 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
0answers
356 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 ...
2
votes
2answers
1k 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 ...
2
votes
1answer
171 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 ...
2
votes
3answers
2k 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: ...
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 ...
1
vote
4answers
2k 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 ...
1
vote
1answer
752 views

I need an unzip command line tool for Windows, that supports redistribution

I'm building a small client app that downloads a specific .zip file form a website and needs to unzip the file. it would be easiest for me if i could have a command line unzip utility that supports ...
1
vote
1answer
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 ...
1
vote
3answers
4k 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 ...
1
vote
1answer
15 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 ...
1
vote
1answer
3k 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
11k 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
1answer
968 views

Permission Denied error when unzipping files

I'm trying to unzip some files in a folder under Program Files. I keep getting a "permission denied" error with WinRAR on Windows 7 Professional. Any idea why?
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 ...
1
vote
1answer
597 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 ...
1
vote
0answers
168 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
303 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.
1
vote
2answers
653 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 ...
1
vote
2answers
1k views

Unzip a specific subfolder in an archive with the 7-Zip command line version

I want to unzip an ZIP archive, but just a subfolder in it. Example structure archive.zip: -rootfolder --subfolder ---subsubfolder I just want to unzip subsubfolder with 7-Zip (preferably). How ...
0
votes
3answers
2k views

Unrar Command prompt

Is there any good unrar tool for command prompt which also supports zip? and supports parts?
0
votes
4answers
5k views

tar.gz won't extract on Mac OS X

Why is this not working? sh-3.2# tar -xzf postgresql-7.4.28.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors
0
votes
3answers
921 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: ...
0
votes
1answer
90 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 ...
0
votes
1answer
146 views

Winzip error / timestamp in file name related?

I receive an error when attempting to use winzip to extract a .zip file. The filename contains a colon character (used in the timestamp). Is this something that winzip does not handle? Also, the ...