Reputation: 2485
Iam trying to run some shell scripts for training a model in google colab and trying to mount google drive with below code:
from google.colab import drive
drive.mount('/content/drive')
and this is the folder structure that's created.
Is there any way I could rename the "My Drive" to "MyDrive" and I am facing a lot of issues while running shell scrips.
Upvotes: 5
Views: 3548
Reputation: 40928
You can create a symlink
!ln -s "/content/drive/My Drive" /gdrive
Upvotes: 6