Extracting Large Zip Files in Google Drive - Watch Video
How to import a zip file from Google Drive to Google Colab for large datasets and how to unzip the dataset in Colab.
Go to the below link and see the method. "I've made the video in Loom but was unable to Download the video so just sharing the link here"
https://www.loom.com/share/b6456413c2...
In this video, I will show you how to extract large files in Google Drive. I encountered an issue while trying to extract a 1.82 GB file, so I will guide you through the steps to solve this problem. No coding is required, just a few simple commands. By following my instructions, you will be able to extract any large file in Google Drive. Action requested: Watch the video to learn the steps.
Code
Step 1 ) Go to Google Colab markdown editor
https://colab.research.google.com/
Step 2 ) Mount the Gdrive by clicking on the Folder icon and then mount the Drive icon from the left and run this code in the first Cell
from google.colab import drive
drive.mount('/content/drive')
step 3) write the below command to extract the zip file, before copying the path by clicking on the file from the left file menu and pasting in "Double quotes"
!unzip "/content/drive/MyDrive/css books-20240129T140927Z-001.zip" (Linux Command)
step 4) Just move the file from collab temp memory to your drive folder
by this Linux command
!mv "/content/css books" "/content/drive/MyDrive/css books" (Linux Command)
change the above direcotires with your respective ones.
Done....