My place of work uses G Suite apps. For the past five years I have shared with my team a Google Drive folder, which we have maintained as if belonging to the team. I'd like to migrate the contents of this folder to a new Team Drive.
The difficulty I'm encountering is that folders can't be moved from a user's Google Drive to a Team Drive. I can create folders on the Team Drive, and move documents from the shared folder to the Drive, but this process doesn't scale to large folders. One of the folders I need to move contains almost 1800 subfolders.
I tried some other workarounds. For instance, I use Google Drive File Stream, which mounts the drives on my Mac's file system. I tried compressing folders, moving them to the Team Drive, then uncompressing. But the uncompressing job failed.
I also tried using Terminal and mkdir
to create folders on the Team Drive, then cp
to copy documents. I was hoping I could script a process that descended into the folder's tree of subfolders, created the directories it needed to, and copied over the files. It seems that mkdir
works but cp
doesn't, even on documents.
I did some web searching but I couldn't find any software that worked copying folders of this size from a personal Google Drive to a Team Drive. Any ideas?