Skip to content

RaymondSalim/google-drive-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Google Drive Copy/Rename script

A python script that can copy and files/folders from Team Drives to your own drive

Open In Colab

Usage

  1. Click on the badge above

  2. File -> Save a copy in Drive

If you have a Google Cloud project running and Google Drive API enabled, go to step 5

  1. Create your own google cloud project if you don't have one by clicking the link below https://console.developers.google.com/apis/library/drive.googleapis.com?q=drive

  2. Click on Create Credentials and follow the settings below

  • You will have to setup OAuth Consent Screen

    User Type > External

    It is recommended to only fill in the "Application name" and Save

  1. Download the client_id.json file from Credentials page of your google cloud project and upload it to your Google Drive Set the file sharing to public and get the file ID

    ALTERNATIVELY, you can upload the client_id.json manually to google colab. Make sure to upload it to '/content'

  2. Follow the steps on the google colab page

Feel free to open an issue

About

Google Colab Notebook to copy files on the cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published