Questions tagged [unzip]

Unzipping is uncompressing ZIP archives, the opposite of zipping.

2029 questions
36
votes
4 answers

unzip (zip, tar, tag.gz) files with ruby

I want to unzip a lot of zip files. Is there a module or script that checks which format the zip file is and decompresses it? This should work on Linux, I don't care about other OSs.
gustavgans
  • 5,141
  • 13
  • 41
  • 51
35
votes
10 answers

How to unzip files recursively in Java?

I have zip file which contains some other zip files. For example, the mail file is abc.zip and it contains xyz.zip, class1.java, class2.java. And xyz.zip contains the file class3.java and class4.java. So I need to extract the zip file using Java to…
Anish
35
votes
7 answers

JavaScript: Decompress / inflate /unzip /ungzip strings

I'm looking for JavaScript implementation of string inflating algorithms. I want to compress on the server side (Java), and decompress on the client side (JavaScript). I've found: unzip strings in javascript That one is marked as answered with an…
Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
34
votes
6 answers

How to speed up unzipping time in Java / Android?

Unzipping files on android seems to be dreadfully slow. At first I thought this was just the emulator but it appears to be the same on the phone. I've tried different compression levels, and eventually dropped down to storage mode but it still takes…
digitalWestie
  • 2,647
  • 6
  • 28
  • 45
34
votes
8 answers

open failed: EBUSY (Device or resource busy)

I have a strange error in my App. In my app it is possible to download a zipFile, read the content as what it is and also delete it. Its doesn't matter what exactly it is. Problem: Only on the Motorola Xoom (version 4.0.4) I can download the file,…
Informatic0re
  • 6,300
  • 5
  • 41
  • 56
31
votes
9 answers

Unzip Archive with Groovy

is there a built-in support in Groovy to handle Zip files (the groovy way)? Or do i have to use Java's java.util.zip.ZipFile to process Zip files in Groovy ?
HaBaLeS
  • 1,809
  • 3
  • 16
  • 26
30
votes
9 answers

Unzipping directory structure with python

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:…
Flyer1
  • 847
  • 3
  • 10
  • 14
30
votes
2 answers

Mac Terminal unzip zip64

I have Mac OS 10.9.5. I have downloaded a large zip file off of the internet that the owner changed to a zip64 for me so it could work. I try unzipping the file with unzip SNPsnap_gcan_3_500.zip but I get the following error…
Evan
  • 1,477
  • 1
  • 17
  • 34
29
votes
3 answers

How do I write a BASH script to download and unzip file on a Mac?

I need to create a bash script that will work on a mac. It needs to download a ZIP file of a site and unzip it to a specific location. Download the ZIP file (curl -O) Unzip the files to a specific location (unzip filename.zip path/to/save) Delete…
alecwhardy
  • 2,698
  • 6
  • 27
  • 33
29
votes
2 answers

Unzip files in folders automatically [mac os x]

I have a folder on my desktop that has around 2500 folders in it, each folder has multiple files in them that are zipped, I can unzip them by manually clicking on them, is there a way to do this automatically through terminal?
d12n
  • 841
  • 2
  • 10
  • 20
27
votes
3 answers

How to download and unzip in Dockerfile

So, I have, it works, but I want to change the way to immediately download the file and unpack it: Dockerfile FROM wordpress:fpm # Copying themes from local COPY ./wordpress/ /var/www/html/wp-content/themes/wordpress/ RUN chmod -R 777…
DromiX
  • 523
  • 1
  • 4
  • 15
27
votes
3 answers

Unzipping downloaded files in iOS

Using ASIHTTPRequest, I downloaded a zip file containing a folder with several audio files. I tried to unzip the file with SSZipArchive and ZipArchive, which are both based on minizip. When I compile the code, I get this error: Undefined symbols for…
Huy Tran
  • 4,371
  • 10
  • 34
  • 38
26
votes
4 answers

Download and Extract Zip File in Android

My application is downloading zip file from the server and extract this zip file and save files into sd card but problem is if i am downloading 4-5 MB zip files and extract it, this is working good but if i am downloading 30-35 MB zip file this will…
Dipak Keshariya
  • 22,193
  • 18
  • 76
  • 128
25
votes
2 answers

Is it possible to unzip a compressed file with multiple threads?

I unzip using this : unzip -q "file.zip" -d path How can I unzip faster with utilizing multiple cores and threads? Thanks
ale8530
  • 317
  • 1
  • 4
  • 9
25
votes
3 answers

Unzip .gz file using c#

How to unzip .gz file and save files in a specific folder using c#? This is the first time I encounter a .gz file. I've search in how to unzip it yet It didn't work for me. It didn't unzip .gz file in a specific folder. I don't want to used any…
Kuriyama Mirai
  • 867
  • 5
  • 17
  • 37