Skip to content Skip to sidebar Skip to footer

How Can I Unzip Very Large Zip File (>6gb) In Google Colab Notebook?

I am unable to unzip a file downloaded into current directory due to the error: zipfiles that span multiple disks are not supported How can I solve this problem?

Solution 1:

Copy the following command:

!apt-get install p7zip-full

Use the following command to unzip it:

!7za e FileName

The above code should help you out to unzip large files(>5GB) in google colab.

Solution 2:

I had the same problem, although not in Google Colab, but in a similar service at my local institution at the Göttingen Library. The previous solution did not work for me, because I did not have the authorization to install new programs on the server. Instead, I used directly the function unzip from Linux:

!unzip your_zip_file.zip

That worked for me!

Post a Comment for "How Can I Unzip Very Large Zip File (>6gb) In Google Colab Notebook?"