- 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'
No comments:
Post a Comment
Note: only a member of this blog may post a comment.