I've got a list of files that are all in a .csv file. They are all inside of individual users 'My Drive'. I need to pass the .csv in and make a copy of all the files and copy them into a Shared Drive. The csv headers are named Owner and FileID with the respective info.
I've been trying to run the following command:
gam csv ~/Documents/test-files-to-copy.csv gam redirect stdout ./files-copied.csv redirect stderr ./files-error.csv user "~Owner" copy drivefile "~FileID" teamdriveparentid 0AEyLzPHBZSv0Uk9PVA mergewithparent no recursive depth -1
The error I got in the error out file is: "Shared Drive ID: 0AEyLzPHBZSv0Uk9PVA Permission ID: 13612448801352578291 Does
not exist"
I double checked the Drive ID and it is most definitely correct. I've also double checked that all the users have access to the Shared Drive as Content Managers.
Not sure what else I can do. Any ideas from anyone? Maybe I'm going about this the wrong way.