Hi all:
I’m having some trouble getting “gam copy drivefile” to work. I’m trying to copy a file (a Sheet) from a folder on a shared drive to a different folder on the same shared drive.
Here’s what I get when I try:
$ gam user f...@example.edu copy drivefile id '1jzFuK9j_GEaKhZezlF3v6FVKGViDnc82_C6-l5-oerM' newfilename "forwards 2023-07-10" parentid 1yackmwZ6RmSoal_ndWaMUae1HJBtHPm4 User: f...@example.edu, Shared Drive ID: 0ANuN4K8o4cxfUk9PVA, Copy Failed: Does not exist
I’ve verified that the file I’m copying exists, and the
f...@example.edu user has access to it:
$ gam user f...@example.edu show fileinfo id '1jzFuK9j_GEaKhZezlF3v6FVKGViDnc82_C6-l5-oerM' Drive File: 2023-07-10 Filter forwards (1jzFuK9j_GEaKhZezlF3v6FVKGViDnc82_C6-l5-oerM)
capabilities:
canAddChildren: False
[lots of info shown, but not relevant here, I don’t think. The point is that this command works fine]
And also that the destination folder exists, and
f...@example.edu user has access to it:
Drive Folder: Automated reporting (1yackmwZ6RmSoal_ndWzMUae1HJBtHPm4)
capabilities:
canAddChildren: True
[lots of info shown, but not relevant here, I don’t think. The point is that this command works fine]
But as you can see, the copy fails with a “Does not exist”.
Any ideas?
Thanks!
Ian