How to copy a other google drive shared folder into my own Google Drive?

By Justus IT - March 24, 2022

 





Using Google Colab


  1. Create a shortcut of shared folder to your drive
  2. Open https://colab.research.google.com/
  3. Create new Notebook
  4. Mount your google drive
from google.colab import drive
drive.mount('/gdrive')
  1. Type:
%cd /gdrive/My\ Drive/Name-of-shared-folder
  1. Type pwd to check the current path. It should start like this /gdrive/.shortcut-targets-by-id/yoursharedfoldernameetc.
    Copy this path.
  2. Run this:
!cp -r 'above-copy-path/.' '/gdrive/My Drive/destinantion-path'

  • Share:

You Might Also Like

0 comments

Note: only a member of this blog may post a comment.