Reliable, fast, easy method
1. Make sure you are logged in your own Gdrive where you want the shared folder to be copied to.
BEFORE we do anything make sure to:
a. Create an empty folder in your Gdrive and name it anything. (say, "ToCopy").
b. Now open the shared folder link. This folder has contents you want to copy.
c. This shared folder will now appear in the "Shared with me" section of Gdrive.
d. Right click on the shared folder and "add a shortcut to your drive". PLACE this shortcut INSIDE the folder you had created at start of step1 (i.e. into the "ToCopy" folder).
Pic:
2. Now open Google Colab. Go to:
colab.research.google.com
3. Click on New Notebook in pop-up. Pics:
4. Now, in the notebook, to the extreme left, there's a 1-inch wide vertical column. Go to the column, and click on the Folder icon ("Files"). Wait for a few seconds. Pics:
5. The left column expands to reveal a file explorer. Click on Google Drive icon.
6. A pop-up notification will ask : "Permit this notebook to access your Google Drive files? Connecting to Google Drive will permit code executed in this notebook to modify files in your Google Drive." Click "Connect to Google Drive".
7. Now in the file explorer, there's a new folder visible called "drive". Inside it is "MyDrive". Inside it are your Gdrive contents.
8. Navigate to the folder you created earlier ("ToCopy"). Navigate inside it. Copy the path of the shared folder shortcut you placed inside it.
Pic:
9. Now in the main notebook space type:
Important note: The path : "the-path-you-just-copied-in-step-8" must end with a forward-slash / at the end.
For example:
Remember:
Pics:
10. Click on Run Cell play button. Or, instead do Ctrl+Enter to execute code. Everything inside the shared folder will get copied to your google drive.
1. Make sure you are logged in your own Gdrive where you want the shared folder to be copied to.
BEFORE we do anything make sure to:
a. Create an empty folder in your Gdrive and name it anything. (say, "ToCopy").
b. Now open the shared folder link. This folder has contents you want to copy.
c. This shared folder will now appear in the "Shared with me" section of Gdrive.
d. Right click on the shared folder and "add a shortcut to your drive". PLACE this shortcut INSIDE the folder you had created at start of step1 (i.e. into the "ToCopy" folder).
Pic:
2. Now open Google Colab. Go to:

Google Colaboratory
3. Click on New Notebook in pop-up. Pics:
4. Now, in the notebook, to the extreme left, there's a 1-inch wide vertical column. Go to the column, and click on the Folder icon ("Files"). Wait for a few seconds. Pics:
5. The left column expands to reveal a file explorer. Click on Google Drive icon.
6. A pop-up notification will ask : "Permit this notebook to access your Google Drive files? Connecting to Google Drive will permit code executed in this notebook to modify files in your Google Drive." Click "Connect to Google Drive".
7. Now in the file explorer, there's a new folder visible called "drive". Inside it is "MyDrive". Inside it are your Gdrive contents.
8. Navigate to the folder you created earlier ("ToCopy"). Navigate inside it. Copy the path of the shared folder shortcut you placed inside it.
Pic:
9. Now in the main notebook space type:
Code:
You don't have permission to view the code content. Log in or register now.
Important note: The path : "the-path-you-just-copied-in-step-8" must end with a forward-slash / at the end.
For example:
Code:
You don't have permission to view the code content. Log in or register now.
Remember:
Code:
You don't have permission to view the code content. Log in or register now.
Pics:
10. Click on Run Cell play button. Or, instead do Ctrl+Enter to execute code. Everything inside the shared folder will get copied to your google drive.