Correct
Try the GAMADV-X fork instead, and make sure that you read the GAMCOMMANDS.txt for the correct syntax.
python gam.py version
GAM 3.66 - http://git.io/gam
Jay Lee <jay...@gmail.com>
Python 2.7.10 64-bit final
google-api-python-client 1.5.0
Darwin-14.5.0-x86_64-i386-64bit x86_64
/usr/bin/python /Users/me/GAMADV-X-4.26.01/src/gam.py user newo...@domain.com claim ownership 0BrestofthefolderID
User: newo...@domain.com, Claim Ownership 1 Drive File/Folder
Getting all Drive Files/Folders for newo...@domain.com
Got 43 Drive Files/Folders for newo...@domain.com...
User: newo...@domain.com, Claim Ownership 0 Users
Added a new document in the root of that folder.
Waited a bit for Google to realise I did that. :-)
$ /usr/bin/python /Users/me/GAMADV-X-4.26.01/src/gam.py user newo...@domain.com claim ownership 0BrestofthefolderID
User: newo...@domain.com, Claim Ownership 1 Drive File/Folder
Getting all Drive Files/Folders for newo...@domain.com
Got 44 Drive Files/Folders for newo...@domain.com...
User: newo...@domain.com, Claim Ownership 1 User
User: newo...@domain.com, Claim Ownership 1 Drive File/Folder from User: old_...@domain.com
User: newo...@domain.com, Drive File: Endast ett test (1BnewfileID), Ownership Claimed from User: old_...@domain.com