# ZIPPING & UNZIPPING g-drive file in 3 steps using google colab

**URL:** <https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785>\
**Category:** Tutorials & Methods\
**Tags:** tips-tricks\
**Created:** [July 1, 2020, 8:51pm UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785 "2020-07-01T20:51:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![its\_free\_time](https://onehack.st/user_avatar/onehack.st/its_free_time/32/43846_2.png) [@its\_free\_time](https://onehack.st/u/its_free_time)\
**Post date:** [July 1, 2020, 8:51pm UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785/1 "2020-07-01T20:51:02Z")

</div>

Hi guys 😊  
I made a Video Tutorial for ZIPPING & UNZIPPING g-drive file Via Colab in just 3 steps.

Points you need to know.

1. don’t use “zip” as a file name
2. don’t use spaces in folder/file name

Video tutorial:  
[Mega](https://mega.nz/file/GeR3VSrY#1ii24X-YaJ2ZHukl96KQXkM2F3ho3f9I--dTM9zTITA) or [G-drive](https://drive.google.com/file/d/1scgw_7J8wCOZxHjerzQOXdLBA_bZCfF3/view?usp=sharing)

script:  
[mega](https://mega.nz/file/qDgDxIiJ#B40hR0nlJj8X015wp5f1w1mARhLkNOXnCjtIPJyczxA) or [Gdrive](https://drive.google.com/file/d/1-0SDyB3XotrFAnrxSUoXpCGoHZK_50AY/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![Keke\_Bija](https://onehack.st/user_avatar/onehack.st/keke_bija/32/37186_2.png) [@Keke\_Bija](https://onehack.st/u/Keke_Bija)\
**Post date:** [July 2, 2020, 6:22am UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785/2 "2020-07-02T06:22:20Z")

</div>

Love this  
Great work

---

<div class="post-metadata">

**Author:** ![Adnan\_Catper](https://onehack.st/user_avatar/onehack.st/adnan_catper/32/18110_2.png) [@Adnan\_Catper](https://onehack.st/u/Adnan_Catper)\
**Post date:** [July 2, 2020, 7:04am UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785/3 "2020-07-02T07:04:26Z")

</div>

Thanks for the video, but i didnt ask to zip a single file, a better version of this method is already available in many scripts which supports, unrar, zip-unzip, tar-untar etc.

What i asked what how to batch convert many folders to individual folders.zip.  
If i follow your method i have to make zip of each folder seperately, which is tedious task if i have many folders to zip.  
i hopoe you understand now what i mean..

---

<div class="post-metadata">

**Author:** ![akashi\_sejuro](https://onehack.st/user_avatar/onehack.st/akashi_sejuro/32/45089_2.png) [@akashi\_sejuro](https://onehack.st/u/akashi_sejuro)\
**Post date:** [July 2, 2020, 7:32am UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785/4 "2020-07-02T07:32:10Z")

</div>

It changes the size of big files. When the big fill is zipped and then unzipped the fill size is changed.

---

<div class="post-metadata">

**Author:** ![akashi\_sejuro](https://onehack.st/user_avatar/onehack.st/akashi_sejuro/32/45089_2.png) [@akashi\_sejuro](https://onehack.st/u/akashi_sejuro)\
**Post date:** [July 2, 2020, 7:32am UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785/5 "2020-07-02T07:32:53Z")

</div>

do you have the links for the better version?

---

<div class="post-metadata">

**Author:** ![Adnan\_Catper](https://onehack.st/user_avatar/onehack.st/adnan_catper/32/18110_2.png) [@Adnan\_Catper](https://onehack.st/u/Adnan_Catper)\
**Post date:** [July 2, 2020, 12:00pm UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785/6 "2020-07-02T12:00:44Z")

</div>

try this  
[https://github.com/biplobsd/OneClickRun](https://github.com/biplobsd/OneClickRun)

---

<div class="post-metadata">

**Author:** ![akashi\_sejuro](https://onehack.st/user_avatar/onehack.st/akashi_sejuro/32/45089_2.png) [@akashi\_sejuro](https://onehack.st/u/akashi_sejuro)\
**Post date:** [July 2, 2020, 12:10pm UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785/8 "2020-07-02T12:10:59Z")

</div>

Has the same issue. It changes the size of big files. When the big fill is zipped and then unzipped the file size is decreased.

---

<div class="post-metadata">

**Author:** ![Mrj\_T](https://onehack.st/user_avatar/onehack.st/mrj_t/32/40611_2.png) [@Mrj\_T](https://onehack.st/u/Mrj_T)\
**Post date:** [July 2, 2020, 12:55pm UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785/9 "2020-07-02T12:55:15Z")

</div>

The Video making is awesome bro

---

<div class="post-metadata">

**Author:** ![ACHIYA](https://onehack.st/user_avatar/onehack.st/achiya/32/47204_2.png) [@ACHIYA](https://onehack.st/u/ACHIYA)\
**Post date:** [July 2, 2020, 2:27pm UTC](https://onehack.st/t/zipping-unzipping-g-drive-file-in-3-steps-using-google-colab/94785/10 "2020-07-02T14:27:27Z")

</div>

Thank you so much for this.  
But is there’s a way to split large files into parts?
