Create a Google Sheet of the IDs of the files and folders to copy, from a specific folder. The showownedby me will only list the files the Original Owner owns. Then either transfer ownership or copy to a new folder
gam user <Original Owner Email> print filelist select ID <Folder-To-Copy-ID> showownedby me fields id todrive
Transfer the Ownership
gam csv gsheet <User Email Address> <gSheet DriveFileID> <gSheet Name> gam user ~Owner add drivefileacl ~id user <New Owner Email> role owner
Copy to New Folder
gam csv gsheet <User Email Address> <gSheet DriveFileID> <gSheet Name> gam user ~Owner copy drivefile ~id parentid <New Folder ID>
Will this maintain folder/file structure? Is this the best way to accomplish what we're trying to do?
--
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/dc0ea24a-65a9-47f7-93cb-ca174c34d727n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp_PReLSY9FXZO3-t6JHtsS-Ow7rt9WwqA3ApD8%2BOiGmLg%40mail.gmail.com.
David Walton
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAGXmKnp4S6dJ-BYzsrsmiy1dtPNzLkRthPwLCQFSwqMY9mgMDQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp9xuZvV96vVgxTe%2BBAdD0rPrY86wO3Uc_AUVs4zf2WM0Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAGXmKnruunMBYYT_akPPvDE%3D4qevOF86H6d6GDM1nGKkLLbmmQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAM4O_OuVSyeGxKqL96TC-j_QXjgwKgPebcPXtqFm8uCaErHPbQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp-7xVazqB_WsqA5Lfo1FHM8_OQRK5OLn%3D4i8D1tpsdzAg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAM4O_OuQK4c0yQPEVpUGwoMiMYC64%3DEYf5bKb8JE6Gc5naEbbw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS-i%2BLHuXQotSFswg1darBPXVPH4XgSE-Q1YJwNS1JmPGA%40mail.gmail.com.
CONFIDENTIALITY NOTICE
This message and attachments included are intended only for the addressee (s). The information contained in this message is confidential and may constitute proprietary or non-public information under international, federal, and/or state laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee(s), please promptly delete this message and notify the sender of the delivery error by e-mail.
--
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/cb198888-b0a9-4c4a-9953-315881a439ean%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/04e3794e-e5f1-41cf-afde-3309eeaf4443n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS9GFoim4HO7zUrVgaUym_VCP-wzAgbx%3D8EDqqG8grUv_Q%40mail.gmail.com.
--
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/0469510f-7098-4974-8c53-c2d75f4f298an%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS9GFoim4HO7zUrVgaUym_VCP-wzAgbx%3D8EDqqG8grUv_Q%40mail.gmail.com.
Pemberitahuan Kerahasiaan: Informasi yang terkandung dalam email elektronik ini (dan setiap lampirannya) bersifat rahasia dan/atau mungkin juga memiliki hak istimewa secara hukum, dimaksudkan hanya untuk digunakan oleh individu-individu atau entitas yang dituju. Jika anda bukan penerima yang dituju, anda dengan ini diberitahukan bahwa anda dilarang keras untuk menyalin, menggunakan, mendistribusikan kembali atau mengungkapkan isinya kepada pihak lain. Segera beritahukan pengirim dengan mereply email untuk menginformasikan bahwa ada kesalahan dan menghapus email asli ini dan semua salinan yang ada dari sistem Anda.
Confidentiality Notice: The information contained in this electronic e-mail (and any attachments) is confidential and /or may also be legally privileged, intended solely for the use of the individuals or entities to whom they are addressed. If you are not the intended recipient, you are hereby notified that you are strictly prohibited to copy, use, redistributed or disclosed its content to any other person. Please immediately notify the sender by return e-mail that you have received the message in error and delete the original message and all copies from your system