Questions tagged [unzip]

Unzipping is uncompressing ZIP archives, the opposite of zipping.

2029 questions
0
votes
1 answer

Skip unzipping when directory exists / delete unzipped directory

I have the code which unzip file from path. But I don't know how to write code that skip or delete folder with unzipped files when already exists. Thank you for advice. def unzip_file(self, path): # Load file - function that reads a…
0
votes
0 answers

Unzipping a file returns a FileNotFoundException when creating a directory

before this question gets closed for repetition - yes, I have read the other posts and their content was different, also the answers did not help in my case. I have a zip file in my JEE-Project called Export.zip. It is located in the resources…
Bananaman
  • 5
  • 3
0
votes
1 answer

How to extract a Rar file with password in google colab?

Hi i'm currently using Google Colab and i need a extract a Rar file with password. I use Patool but it doesn't support Password's file
BDROID98
  • 11
  • 1
0
votes
1 answer

How to unzip and do not create a sub-directory when extract it

This is the UnzipUtility class used for extracting a zip file, the problem I'm facing is that when I extract the zip file I still have the unzipped folder in with its content, I would need to extract it skipping that level and have the content of it…
MELS
  • 57
  • 1
  • 7
0
votes
2 answers

PHP Upload and Extract Zip

I'm trying to run a script that allows the upload of a .zip and extracts the contents. I grabbed a sample code online that is supposed to work and added a class at the beginning b/c my ISP doesn't have the zip functionality compiled in…
Don
  • 1,570
  • 4
  • 22
  • 38
0
votes
1 answer

How to Use the NSIS Unzip Plugin properly?

Im new to NSIS programming, so i found the NSISUNZ plugin to extract files. This is my Code: OutFile "TEst.exe" Section !addplugindir nsisunz initPluginsDir nsisunz::Unzip "C:\Users\user\Downloads\TestVerzeichnis.zip"…
Luca
  • 15
  • 2
0
votes
1 answer

Permission error when unzipping files that are password protected

I am trying to unzip a number of files that are password protected but I keep getting some permission error. I have tried to perform this operation running vscode as an administrator but I am still getting the same error. Here is the…
Snorrlaxxx
  • 168
  • 1
  • 3
  • 18
0
votes
1 answer

Command Line code without any addon to unzip a .zip file

I have no idea about command line scripts. I checked the few already existing threads on the similar topic however I could not find a thread which mentions the exact code to unzip the file. I have found the a code where Fk8pwu47g.zip is my file…
0
votes
0 answers

Unzip signature not found

I tried to unzip https://github.com/CleanTalk/phpbb3.1-3.2-antispam/releases/tag/5.7.2 on debian 10 vps machine or linux Mint but It always returns the same error: unzip phpbb3.1-3.2-antispam-5.7.2.zip Archive: phpbb3.1-3.2-antispam-5.7.2.zip …
John W
  • 89
  • 2
  • 9
0
votes
1 answer

Problems with script that unzips multiple zipped tar files then untars the same files in C shell

I've been trying to write a script that will search a directory for multiple tar files that are zipped, unzip them, then untar them. However my problem is that everytime I run the script it will execute the first if then statement, but it won't…
0
votes
2 answers

unzipping a .gz extention file in jupyter

# Unzip the dataset (if we haven't already) if not os.path.exists('./cola_public/'): !unzip cola_public_1.1.zip The above code will unzip a file in jupyter notebook. How would I do this in a similar fashion if the file was a .gz file?
Eisen
  • 1,697
  • 9
  • 27
0
votes
1 answer

Unzip archive zip file into folder with same name as archive zip file

I am able to successfully unzip a zipped file using a Powershell script as follows: $filePath = "s:\Download Data Feed\" $zip = Get-ChildItem -Recurse -Path $filePath | Where-Object { $_.Extension -eq ".zip" } foreach ($file in $zip) {…
Shaye
  • 179
  • 13
0
votes
2 answers

extract a zip file: java or script?

I need to write a java class that extracts a content of zip file into a server folder. What is the best way to do it? Do you recommend using ZipFile class, or invoking a script that unzips and copies content? I feel like using scripts (ant/maven) is…
lili
  • 1,866
  • 8
  • 29
  • 50
0
votes
1 answer

Unzip the specific folder in NodeJS

Is there any way I can unzip the specific folder from the zip file via NodeJS. I tried this const unzipper = require('unzipper'); const fs = require('fs'); fs.createReadStream('path/to/archive.zip') // Your zip file .pipe(unzipper.Parse()) …
Malik Kamran Abid
  • 321
  • 1
  • 3
  • 14
0
votes
0 answers

Too slow to unzip dataset in google colab from google drive

I have my dataset which is around 1.2GB and want to upload it on google colab. What I tried is, I compressed the dataset into zip and it turned 479MB. Then upload the zip file into google drive, and do the folloing command in google colab. !unzip…
Marlowe
  • 41
  • 1
  • 2
  • 5