Fabio Araujo
Fabio Araujo

Reputation: 379

How to rename colab My Drive folder to other name?

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?

Upvotes: 4

Views: 4285

Answers (1)

JuBaer AD
JuBaer AD

Reputation: 926

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

Upvotes: 1

Related Questions