Claim ownership of files that other users own

366 views
Skip to first unread message

Bill Gibson

unread,
Sep 25, 2022, 10:31:57 AM9/25/22
to GAM for Google Workspace
I'm looking to set User X as owner of all of the files/folders in a dynamic structure similar to the following:

TOP FOLDER (User X or could be Y)
+Folder1(User B)
++File1-1(User B)
++File1-2(User C)
+Folder2(User D)
++File2-1(User B)
++File2-2(User C)
++File2-3(User D)
+File3(User E)
...etc etc etc

I think this is the command I need to work with, but could use an example (or redirection)
https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Drive-Ownership

Ross Scroggs

unread,
Sep 25, 2022, 3:24:58 PM9/25/22
to google-ap...@googlegroups.com
Bill,


gam user us...@domain.com calin ownership <IDOfTopFolder> ...

Read documentation to choose ... options

Test with preview option

Ross
----
Ross Scroggs



--
NOTICE: This e-mail message, including any attachment(s), is for the sole use of the intended recipient and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

--
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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/c97eaf24-6b69-425d-a500-9d1deeff6028n%40googlegroups.com.

Vini Bettega

unread,
Sep 28, 2022, 7:46:15 AM9/28/22
to GAM for Google Workspace
Hi Ross

Reading the documentation I didn't understand how to write the command to buildtree to test what will be transferred before the execution of the command.
Will it be something like
gam user X@ domain.com transfer ownership buildtree ToDrive <my email to create the list and save>

I'm getting "Invalid argument" feedback, could you help me please.

Best Regards
Reply all
Reply to author
Forward
0 new messages