Skip to content

Use your browser to copy files from others' shared Google Drive folders to your own Google Drive, all online in the browser.

License

Notifications You must be signed in to change notification settings

similato87/google-drive-folder-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Google Drive Folder Copy

This repository contains a script to copy all files and folders from a shared Google Drive folder to your own Google Drive folder using Google Colab and PyDrive2. This allows you to easily make copies of shared content directly in your browser.

Features

  • No Coding Skills Required: You don't need to know any programming or coding to use this script.
  • Browser-Based Solution: All steps are performed online in your web browser using Google Colab.
  • Simple and Easy Setup: Follow the step-by-step instructions to quickly set up and run the script.
  • Automated Process: The script automates the copying process, saving you time and effort.
  • User-Friendly Instructions: Detailed, user-friendly instructions make it easy for anyone to follow.

Prerequisites

  • A Google account with access to Google Drive.

Setup Instructions

Step 1: Obtain Folder IDs

  1. Shared Folder ID:

    • Open the shared folder in Google Drive.
    • The URL will look something like this: https://drive.google.com/drive/folders/SHARED_FOLDER_ID.
    • Copy the SHARED_FOLDER_ID from the URL.
  2. Your Own Folder ID:

    • Open your destination folder in Google Drive.
    • The URL will look something like this: https://drive.google.com/drive/folders/MY_OWN_FOLDER_ID.
    • Copy the MY_OWN_FOLDER_ID from the URL.

Step 2: Check Permissions

  • Ensure you have read access to the shared folder.
  • Ensure you have write access to your own destination folder.

Step 3: Run the Script

  1. Open Google Colab and create a new notebook.
  2. Copy the contents of copy_drive_folder.py into a cell in the notebook.
  3. Replace SHARED_FOLDER_ID and MY_OWN_FOLDER_ID with the IDs obtained in Step 1.
  4. Grant Permissions: When prompted, a pop-up window will ask for permissions to access your Google Drive. Make sure to tick all the necessary boxes to grant permissions.
  5. Run the cell to execute the script.

Time Estimates

  • Obtain Folder IDs: 2-5 minutes
  • Check Permissions: 2-5 minutes
  • Run the Script: 10-30 minutes (depending on the size of the folder and internet speed)

Script

The script is located in the file copy_drive_folder.py.

Usage

  1. Copy: Copy the script into a new cell in a Google Colab notebook.
  2. Edit: Replace the placeholder folder IDs with your actual folder IDs.
  3. Execute: Run the cell to start copying files and folders.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Related Projects

  • Google Drive Batch Delete: Use your browser to batch delete files from Google Drive folders that match a specific pattern, all online using Google Colab.

Key Topics

  • no coding required
  • browser-based solution
  • easy setup
  • quick execution
  • automated process
  • secure
  • user-friendly instructions
  • error handling
  • time-efficient
  • online
  • Google Drive
  • Google Colab
  • PyDrive2
  • shared folder
  • file copy

About

Use your browser to copy files from others' shared Google Drive folders to your own Google Drive, all online in the browser.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages