如何将 colab 的“我的驱动器”文件夹重命名为其他名称?

4

我正在使用Colab,需要重命名Colab My Drive文件夹。

我使用以下命令:

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

但是这给我带来了以下错误:
mv: cannot move '/content/gdrive/My Drive' to a subdirectory of itself, '/content/gdrive/MyDrive'

我该怎么做?

Google Colab的Linux命令行不是一个编程和开发问题吗? - Fabio Araujo
这似乎是关于与编程和开发无关的命令的问题。有更适合此问题的网站。 - jww
好的,你能帮我解决我的问题吗? - Fabio Araujo
1
在删除此处并重新发布到https://superuser.com之前,请阅读[Help On-topic](https://stackoverflow.com/Help/On-topic)。祝你好运。 - shellter
你有找到解决方案吗? - SantoshGupta7
1个回答

1

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


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接