Unzipping is uncompressing ZIP archives, the opposite of zipping.
Questions tagged [unzip]
2029 questions
0
votes
2 answers
Read multiple files zip file with multiple sub directories
I have a zip file with the structure like:
xml.zip
Root Folder: package
Folder: Subfolder.zip
Inside Subfolder.zip :
Root Folder: _
Folder: var
Folder: run
Folder: xmls
Xml1.xml
Xml2.xml
Xml3.xml
Is there a way to read in…

Ayushie Saxena
- 1
- 1
0
votes
1 answer
yauzl returning Error: end of central directory record signature not found
The following Node JS code always fails with:
Error: end of central directory record signature not found
I tried it with several kinds of zip files.
// Retrieve the snapshot, which will be a zip file
S3.getObject({ Bucket: bucket, Key:…

Thomas Fahlberg
- 21
- 2
0
votes
0 answers
php unzip treat folder name as file name on Linux
I write a program to unzip a file using ZipArchive's extractTo() function only. It runs ok on Windows wherease in Linux, it treats folder name as part of file name
Users give me two zip files: onepiece.zip and file.zip. They both have structures…

Scott Chu
- 972
- 14
- 26
0
votes
1 answer
Unzip and read a .gz file from Google Cloud storage via Python (Cloud Function)
I have to read an unzip file from google cloud storage in python (cloud function).
I tried below method but the CF crashes everytime.
File in GCS : ABC.gz
import gzip
def process(data, context):
filename = data['name']
with…

Ishank Aggarwal
- 23
- 1
- 5
0
votes
1 answer
Performance: Better to unzip from hard disk?
I'm about to make a design decision that could potentially have visible performance implications. Generally speaking, how do libraries handle unzipping; is it cheaper to unzip a file from memory or from hard disk?
I imagine this varies from library…

Paul Manta
- 30,618
- 31
- 128
- 208
0
votes
0 answers
Unzip a file from several large compressed folder from command line
I have several large zipped folders in my cloud storage drive. I want to transfer a specific file from each of the zipped folders to my local hard drive (I cant copy all of them since i dont have enough space). Is there a way to do this using…
0
votes
0 answers
bash unzip retaining partial directory structure
Clients submit large (1.5gigs, >10,000 files) zip file with their directory structure from clients OUTPUT directory.
I want to bash unzip to my INPUT directory, preserving their directory structure also, BUT NOT ENTIRE directory structure.
Example,…

MeatPopsicle
- 11
- 1
0
votes
1 answer
ExtractToDirectory , how to extract a zip folder within a zip folder using c#
Problem: I have this code that extracts all .zip folder inside a specified directory. Now my problem here is that my .zip files contains another .zip file inside of it. The output of my program is it creates a folder for the zip file extracted with…

devbbg
- 17
- 7
0
votes
1 answer
Unzip wrongly: All files are scattered in the current directory
On CentOS, I wanted to unzip files in A.zip into ./A/. However, I didn't notice that there were hundreds of files in A.zip and I just use unzip A.zip. So now these extra files are all in the current directory. How could I solve this problem?
Thank…

sunshk1227
- 219
- 2
- 12
0
votes
0 answers
How to decompress a multi part zip file created using DotNetZip library?
I created multipart zip file using DotNetZip library, following is the code used to create:
public Boolean CreateZip(string sourceFolder, string destinationZip)
{
Boolean isZipCreated = false;
try
{
…
0
votes
1 answer
Is it possible that tar-cvzf adds file information while zipping large file? (File is around 200 gb )
I zipped a large regular unix file (.dat) using tar -cvzf command . This file is of around 200 gb in size.
After zipping it became 27gb in size. But while reading data in that zipped file i can see annonymous data added at start of file.
Is this…

Sudoshree
- 5
- 3
0
votes
0 answers
List files in zip subdirectory
To list all the files in a spreadsheet (xlsx) file, I can do:
$ unzip -l /Users/david/Desktop/myspreadsheet.xlsx
698 01-01-1980 00:00 xl/_rels/workbook.xml.rels
1415625191 01-01-1980 00:00 xl/worksheets/sheet1.xml
6798 01-01-1980…

David542
- 104,438
- 178
- 489
- 842
0
votes
0 answers
Delphi 10.3 : Blob issue when converting to string
I am facing an issue where we are fetching the archive data (zip data) as string from blob. The string shows in double byte string (e.g. 'P'#0'K'#0#3#) and hence the zipforge that we use for extracting fails with Archive Error : 0035.
So to overcome…

shekhar keshri
- 21
- 3
0
votes
1 answer
unzip -d option to extract file from jar to specific directory
unzip -d option to extract file from jar to specific directory
Without using any option we can unzip specific file to same directory structure, but -d option doesn't seem to work.
unzip someNiceOne.jar com/some/comp/some/dir/name.properties
This…

vinWin
- 509
- 1
- 5
- 18
0
votes
1 answer
Unzip CSV.Zip file from S3 in Ruby
I have a rails application that fetches a csv.zip file from S3. Is there a way to stream the s3 file and unzip it on the fly using RubyZip or another gem? I dont want to download the whole file in memory.
I'm using a block for downloading the S3…

Mimi R.
- 1