Questions tagged [unzip]

Unzipping is uncompressing ZIP archives, the opposite of zipping.

2029 questions
0
votes
1 answer

Unzip File Only If New in Google Apps Scripts

I have a folder (let's call it the source folder) on Google Drive that is updated from time to time with new zip files (underlying files are PDFs). I am trying to use Google Apps Script to unzip only the new zip files and place the underlying PDFs…
0
votes
1 answer

Unzip failed to finish in Google Colab

So I try to train an autoencoder model but have difficulty on extracting large zipfile and rarfile in Google Drive. its a 3GB zipfile containing 500 dirs of images and a5GB rarfile containing 1.7 million images. I try to ran this code in Colab and…
Bobbyphtr
  • 115
  • 6
0
votes
1 answer

Problem when Unzipping

Hey, I'm trying to unzip a file using this class: public class Decompress { private String _zipFile; private String _location; public Decompress(String zipFile, String location) { _zipFile = zipFile; _location = location; …
Omar
  • 7,835
  • 14
  • 62
  • 108
0
votes
1 answer

How to create an zip archive that MS Windows 10 can extract

I'm trying to create a zip archive that a user on an MS Windows 10 laptop can extract. With only built-in MS Windows utilities. But it is not clear to my how zip / unzip works on a MS Windows 10 machine. I only use Ubuntu. I tried already a couple…
onknows
  • 6,151
  • 12
  • 65
  • 109
0
votes
0 answers

trying to extract file from corrupted zip

after a few attempts at the file with zip -F and zip -FF and 7zip and some other repairing tools, when running zipdetails it says : Unexpecded END at offset 00122462, value D40D148C. can I somehow use a hex editor to fix it? what does it mean…
amirzau
  • 11
  • 2
0
votes
0 answers

How to format filepath to raw string so that there isn't an error in unzipping

I am trying to extract only the .tsv files in sub-directories in a zip file. I keep getting an error because the file paths look like this 'C:\Users\hcho\OneDrive -…
Heeje Cho
  • 81
  • 2
  • 8
0
votes
1 answer

Batch file to unzip files and run Python script

I have a project where I need to unzip files containing a .xls file and then run a Python script to convert the file to .xlsx. I need to do this by executing a Windows Batch file through the Windows Task Scheduler. I found some code on Superuser to…
ben
  • 81
  • 8
0
votes
0 answers

How to unzip from rx.Observable

I'm downloading a gzipped file, and reading the unzipped content line by line. My code looks like this: ChannelSftp channel = getJSchChannel(); try (InputStream is = channel.get(fileName); GZIPInputStream gis = new…
Assa Lahav
  • 51
  • 5
0
votes
1 answer

How do I unzip large files (>1Gb) from my Drive into Colab?

I tried to unzip large zipfiles from my Drive into my Colab and got this error: BadZipFile: zipfiles that span multiple disks are not supported How do I unzip large files from Drive into Colab?
Cael
  • 51
  • 1
  • 7
0
votes
1 answer

Download, decompress, and parse zip file into Java object - unable to read bytes from ZipInputStream

I have the following, which fails to print a string to console as I would expect it to: String url = "http://mis.ercot.com/misdownload/servlets/mirDownload? mimic_duns=000000000&doclookupId=698819309"; …
Devin Andres Salemi
  • 2,198
  • 3
  • 12
  • 25
0
votes
1 answer

ls into an extracted directory

Using PowerShell, I am downloading and extracting a file that has a directory and another file in it (it's basically from https://aka.ms/downloadazcopy-v10-windows). I'd like to be able to get into the directory after extraction. So, in PS, I am at…
Anonymous Person
  • 1,437
  • 8
  • 26
  • 47
0
votes
1 answer

Unzip Password Protect Zip file is slow, How to make it fast?

I using the following class for UnZip password-protected file but unzipping to too much slow to fast it or any improvement in such class or method. Thanks in advance. Class for Unzip Password Protect Zip file. public class ZipDecryptInputStream…
0
votes
1 answer

Unzipping multiple json files from folder into pandas df

I have a folder full of json files (~10gb, mostly text data) that have been zipped with gzip. I currently have code that works but is painfully slow (think several hours): from glob import glob filenames = glob('folder_path/*') dataframes =…
LMGagne
  • 1,636
  • 6
  • 24
  • 47
0
votes
0 answers

Unzip in assets Android Studio Java

Objective: My goal is to extract a zip in the local folder of the "Assets" application from a button, then verify that the files are there and read them. I need it to be in java to compile in Android Studio.
0
votes
2 answers

Is it possible to unzip a file in 7zip file format using Google Apps Script?

I've been able to successfully unzip a regular zip file easily using Google Apps Script. However, a program I use outputs certain files zipped using 7zip. Is there a way to unzip a 7zip file in Google Apps script? Thanks!