How to copy a other google drive shared folder into my own Google Drive?
By Justus IT - March 24, 2022
- Create a shortcut of shared folder to your drive
- Open https://colab.research.google.com/
- Create new Notebook
- Mount your google drive
from google.colab import drive
drive.mount('/gdrive')
- Type:
%cd /gdrive/My\ Drive/Name-of-shared-folder
- Type
pwd
to check the current path. It should start like this/gdrive/.shortcut-targets-by-id/yoursharedfoldernameetc
.
Copy this path. - Run this:
!cp -r 'above-copy-path/.' '/gdrive/My Drive/destinantion-path'
0 comments
Note: only a member of this blog may post a comment.