The unzip command doesn't have an option for recursively unzipping archives.
If I have the following directory structure and archives:
/Mother/Loving.zip
/Scurvy/Sea Dogs.zip
/Scurvy/Cures/Limes.zip
And I want to unzip all of the archives into directories with the same name as each archive:
/Mother/Loving/1.txt
/Mother/Loving.zip
...
I'm using SharpZipLib version 0.85.5 to unzip files. My code has been working nicely for a couple of months until I found a ZIP file that it doesn't like.
ICSharpCode.SharpZipLib.Zip.ZipException: End of extra data
at ICSharpCode.SharpZipLib.Zip.ZipExtraData.ReadCheck(Int32 length) in C:\C#\SharpZLib\Zip\ZipExtraData.cs:line 933 ...
I am working on a build system. The build system posts the results as a zip file in a directory. Unfortunately I have no easy way to know the name of the zip file, because it is timestamped. For the next operation, I must decompress this zip file to some specific location and then do some more file operations.
I guess I could change ...
I'm trying to extract an uploaded zip file and store its contents in the database, one entry per file. The rubyzip library has nearly no useful documentation.
There is an assets table that has key :string (file name) and data :binary (file contents).
I'm using the rubyzip library, and have made it as far as this:
Zip::ZipFile.open(@f...
Hi,
I need to unzip a compressed file on the fly in my program. It works when I try it on my own linux computer, but for some reason the school computers fail whenever I tell them to do it. To unzip I'm using the following command:
zcat /file/address/file.tar.gz
and get the error:
/file/address/file.tar.gz.Z: No such file or dir...
Using python 2.4 and the built-in ZipFile library, I cannot read very large zip files (greater than 1 or 2 GB) because it wants to store the entire contents of the uncompressed file in memory. Is there another way to do this (either with a third-party library or some other hack), or must I "shell out" and unzip it that way (which isn't ...
Hello,
I am trying to write a Java class to extract a large zip file containing ~74000 XML files. I get the following exception when attempting to unzip it utilizing the java zip library:
java.util.zip.ZipException: too many entries in ZIP file
Unfortunately due to requirements of the project I can not get the zip broken down before...
I need to programaticaly unpack a zip archive to folder on Windows Mobile. Is there an easy to use API that I can use directly or should I go with some external library?
...
I have a zip file which contains the following directory structure:
dir1\dir2\dir3a
dir1\dir2\dir3b
I'm trying to unzip it and maintain the directory structure however I get the error:
IOError: [Errno 2] No such file or directory: 'C:\\\projects\\\testFolder\\\subdir\\\unzip.exe'
where testFolder is dir1 above and subdir is dir2.
...
Hi, is there a built-in support in Groovy to handle Zip files (the groovy way)? Or do i have to use java.util.zip.ZipFile to process Zip files in Groovy ?
...
Hi,
I am a newbie to Flex AIR. I am trying to create an application that will unzip the contents of a zip file & place them in a particular directory.
How can I achieve this? Is there any unzip library available for flex? Pls help me.
Thanks in advance.
...
Hi all. Love this website! My issue is as follows:
I'm reading a zip file that's coming over a network from an HTTP "PUT" request. The request header tells me that the Content-Length is (say) 1Mb. The following code creates the ZipInputStream, and saves the zip contents to files in the current directory:
ZipInputStream zis = new Zi...
Hi,
I am trying to programatically unzip a zipped file.
I hace tried using the System.IO.Compression.GZipStream class in .NET, but when my app runs (actually an unit test) I get this expection:
System.IO.InvalidDataException: The magic number in GZip header is not correct. Make sure you are passing in a GZip stream..
I now realize t...
I want do unzip a lot of zip files, is there a module or script that check which format the zip file is and decompress it?
this should work on linux, other OSs I don't care for this.
...
We use SharpZipLib. We need to be able to unzip files on server and place them in separate folder. The request to unzip a file will be from user on a web page. I imagine if the files are large enough it will take a long time to unzip. We don't want users to be stuck on the page while waiting for unzip to complete in order to continue b...
I went to download SharpZipLib assemblies but it looks like its not on SourceForge. Is this a problem with their site or is this project no longer available? Is anyone still working on this project?
...
anyone knows a simple JS library implementing the UNZIP algorithm?
No disk-file access, only zip and unzip a string of values.
there are ActiveX, using WinZIP and other client dependent software for ZIP, written in JS.
but no pure algorithm implementation, is it really difficult or non-functional?
i would use it for displaying KMZ fil...
I have a a directory with zip archives
the zip archives contain .jpg, .png, .gif images
I want to unzip each archive taking the images only and putting them in a folder with the name of the archive
so
files/archive1.zip
files/archive2.zip
files/archive3.zip
files/archive4.zip
open archive1.zip - take sunflower.jpg, rose_sun.gif...
I'd like to unzip an encrypted/password protected file via a Ruby script without dropping down to a system call. I currently use the rubyzip library to unzip files but don't see an option for working with encrypted files.
Anyone know of some code or a library that will do this?
...
Hi ,
i got a download page , there 3 download option , Word , Zip , PDF .. and there is a folder in there so many .DOC file. I want when a user click ZIP option in page , ASP.NET zip this folder with doc files than it will be temp zip file , and then client will save it from server.When user's download is finished then tempZip file will...