Hi all! I have an interesting task)
I have a user whose MyDrive has a very tangled “spaghetti” folder structure — for example:
User (Owner) Folder
↓
External User (Owner) Subfolder
↓
Internal User (Owner) File
I need to migrate this entire structure from the user’s MyDrive to a Shared Drive.
My goal is to:
Move all files/folders owned by the target user to the Shared Drive, preserving the folder structure
For any files/folders not movable (e.g., owned by external users), create clones of these items owned by the target user, and place them in the corresponding locations in the structure
My question:
Is there a GAM command or workflow that allows:
Moving everything owned by the target user to a Shared Drive
Automatically cloning files that cannot be moved (due to ownership) into the same relative structure in the Shared Drive
If this is not possible as a single command, any suggestions for scripts or multi-step GAM processes to achieve this would be greatly appreciated.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/eb9e9b74-79a0-406e-9b66-29740010452an%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/CAD2sLFu33pe%2BsKSf0O7C2j-2-aKSD%3Dr%2BpH068ANRNtxLKakvGQ%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/CAJsNJrn0Zb-n0BE8WxWqwQYjB_fUhabq5gkjWM%3D_mWKhzWOESQ%40mail.gmail.com.
Thanks a lot for suggesting folgo.com — I appreciate the option.
However, I’d really prefer to use a tool that I both trust and understand, so I’d like to stick with GAM. I’ve already upgraded to GAM7.
What I’d really like to clarify is: is it possible in GAM7 to perform a migration from MyDrive to Shared Drive with cloning for cases where the owner is an external user?
David, you mentioned you got this working in GAMADV-XTD3 and offered to share your code. Could you please share it? And do you know if your solution would also work with GAM7?
Thanks in advance!
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/cdb8f1bc-540b-4688-9872-69586ab7d88en%40googlegroups.com.