Git Product home page Git Product logo

colab-file-downloader-and-organizer's Introduction

Colab File Downloader and Organizer

This repository contains a Google Colab script for downloading a ZIP file, extracting its contents, and moving them to a specified directory in Google Drive.

How to Use

  1. Open the Notebook in Google Colab: Upload the .ipynb file to Google Colab or open it directly if it's in your Google Drive.

Open In Colab

  1. Set the Variables: At the top of the script, set the following variables:

    • DOWNLOAD_LINK: URL of the file you want to download.
    • ZIP_FILE_NAME: What you want to name the downloaded ZIP file.
    • TARGET_DIR: Path to the directory in Google Drive where you want to store the extracted files.
  2. Run the Script: Execute the cells in the Colab notebook. It will:

    • Mount your Google Drive.
    • Download the ZIP file from the provided link.
    • Extract the contents to a temporary directory.
    • Move the contents to the specified target directory in Google Drive.
    • Clean up the temporary files.

Notes

  • Ensure you have the necessary permissions for the Google Drive folder you're accessing.
  • The script includes clean-up commands to remove temporary files. If you need to keep the ZIP file or the extracted contents in the Colab environment, you can comment out or remove the clean-up commands.

Contributing

Feel free to fork this repository, make changes, and submit pull requests if you have suggestions or improvements.


Author

License

This project is licensed under the MIT License.

colab-file-downloader-and-organizer's People

Contributors

sajithdl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.