Unzipping is uncompressing ZIP archives, the opposite of zipping.
Questions tagged [unzip]
2029 questions
0
votes
1 answer
Is there any option to extract more than 1 file zip using ExtractToDirectory
I'm trying to create script that will connect to remote server (Windows server 2012 with PS4.0), and extract 5 different files from one directory to another on the remote server.
The script is using psexec.exe to run commands remotely.
psexec…

Dor Shamay
- 345
- 1
- 4
- 21
0
votes
1 answer
unzipper ignores empty directory
I am a Japanese Web Developer.
I am not good at English, sorry.
https://www.npmjs.com/package/unzipper
I am using this library.
Here is my code.
// unzip module
import fs from 'fs-extra'
import unzipper from 'unzipper'
import Promise from…

Kuru
- 1,417
- 2
- 13
- 20
0
votes
1 answer
Using cmd through C# to zip and unzip files problems
I've been using C# to execute cmd commands centred around zipping and unzipping files through the system.diagnostics.process class but have been encountering some difficulties:
while trying to zip or unzip some of the folders, the process does not…

Oean
- 1
0
votes
2 answers
Access to zipped files without unzipping them
I have a zip file that contains a tar.gz file. I would like to access the content of the tar.gz file but without unzipping it
I could list the files in the zip file but of course when trying to untar one of those files bash says : "Cannot open: No…

laloune
- 548
- 1
- 9
- 26
0
votes
2 answers
Get path from open zip file in Python
So the code I'm working with unstores a sample file from a zip like that:
with ZipFile('spam.zip') as myzip:
myfile = myzip.open('eggs.txt')
return myfile #
I need to work with FileResponse…

winklerrr
- 13,026
- 8
- 71
- 88
0
votes
1 answer
Extract zip file from react native project folder on initial running
We want to include zip file on react native project, for example in project/src/assets/zip folder, include it in the build and extract it to local phone storage on initial App run.
What we want to achieve is, suppose we have a web page that we want…

Komang Sidhi Artha
- 321
- 3
- 12
0
votes
0 answers
Zipped file is not as original after unzipping it
Actually i'm using a method to zip a generated txt file in my android app, in the following txt file there are data separed by enter like
123213213
123213132
424242244
But if i zip this file and unzip it on my computer the following file will…

NiceToMytyuk
- 3,644
- 3
- 39
- 100
0
votes
0 answers
No such file or directory when i want read data from extracted files
I have a zip folder that contain a html file.
I want to extract the zip in a directory then read the content of the html.
In this code i can extract the zip folder but when i want read the content of the extracted file i found this error 'No such…

Mat
- 631
- 3
- 10
- 21
0
votes
2 answers
Rename file after unzipping
I'm trying to rename files before extraction using os.rename()
def unzip(date,day,zip_file):
dest_dir = 'C:/Users/mbelahce040119/PycharmProjects/kpi/flats'
with ZipFile(zip_file) as zipObj:
files_sat = list()
…

mobelahcen
- 414
- 5
- 22
0
votes
1 answer
Unzip only files that start with a certain word
I have a zip archive (let's call it archive) and let's say I want to go through some directories and finally extract ONLY the files that start with the word 'word'. Some thing similar to:
archive.zip/dir1/dir2/word***.csv
What is the command that…

mobelahcen
- 414
- 5
- 22
0
votes
1 answer
need suggession for access file
In my app i have one use case "Download Folder(s)" from web server this folder is in zip format.
This folder contains : text files and more zip folder(s)
So my Question is
should i just download this folder and user will manage it by himself(like…

Pooja
- 2,162
- 5
- 33
- 64
0
votes
0 answers
iOS Swift: How to create .zip file from my document directory files
In my application want to capture the log message, and write the log message in text file, and zip the text file attached thought mail.
Here my code:
let file = "APPLog.txt" //this is the file. we will write to and read from it
let text =…

saravanar
- 639
- 2
- 11
- 25
0
votes
0 answers
While unzipping, ZipEntry returns foldername/filename instead of only fodername/ , and these throws File Not Found Exception
I'm creating zip from back-end using PHP. and I want to unzip at Android side.
My Folder structure of Zip includes
Folder 1
file
file
Folder 2
file
file
File
To create zip I use following code
foreach ($files as $name => $file)
…

Arjun Vyas
- 27
- 7
0
votes
0 answers
Determine if zip file is password protected with Minizip
I'm using Minizip to work with some zip files, and would like to be able to check if a zip file contains encrypted/password protected files. If I call unzGetCurrentFileInfo, and look at the resulting unz_file_info structure, I've noticed that the…

Tom Davies
- 2,386
- 3
- 27
- 44
0
votes
1 answer
Unable to Unzip Folder when invoked on a remote PC
I'm Attempting to Unzip A folder located on a shared drive to the root of C:\ on a remote PC but keep getting errors, how do i correct this Powershell?
$Computers = "LN-T48-PF11BL57"
Invoke-Command -Computername $Computers -ScriptBlock {
…

Khalifa96
- 47
- 2
- 10