Hey all,
I am trying to export a list of Ids from a specific folder in a user's MyDrive using the following command:
gam redirect csv data.csv user <user> print filetree select <RootID> fields owners,id,mime,size
This exports data successfully but only displays the folders and files where the user is the owner. I want an export of all the data contained in the folder. I plan to use the FileIDs to get the owner and change the ownership of each item.
The easiest thing would be to give this user the Drive Delegate admin role and have him move it to a Shared Drive, but if possible, I'd like to help him preserve his existing filetree.
Thanks!