标签: python google-drive-api google-colaboratory
我想要做的是仅自动将新文件从 colab 复制到驱动器,即仅将 google 驱动器文件夹中不存在的文件复制。
这是目前的手动方法,一次只能做一个文件 我必须从 Colab 手动复制文件路径,然后将其粘贴为输入。
#@title Share Path = input("Enter File Path") !cp "$Path" "/content/drive/MyDrive/files2"