How to rename colab My Drive folder to other name?

Viewed 3943

I'm using colab and I need to rename colab My Drive folder.

I'm using the following command:

!mv /content/gdrive/My\ Drive /content/gdrive/MyDrive

But is giving me the following error:

mv: cannot move '/content/gdrive/My Drive' to a subdirectory of itself, '/content/gdrive/MyDrive'

How can I do it?

1 Answers

Try !ln -s /content/drive/My\ Drive/ mydrive

Related