From fc386d3e17cd6ef595b365da499cb53c485c7fcd Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Sun, 6 Jun 2021 13:00:26 -0700 Subject: [PATCH] Added option `stripnameprefix ` to `gam create|copy|update drivefile` --- src/GamCommands.txt | 8 +++++--- src/GamUpdate.txt | 17 ++++++++++++++++ src/gam/__init__.py | 42 +++++++++++++++++++++++++++++----------- src/gam/gamlib/glgapi.py | 3 ++- 4 files changed, 55 insertions(+), 15 deletions(-) diff --git a/src/GamCommands.txt b/src/GamCommands.txt index de5cda5c..ab566020 100644 --- a/src/GamCommands.txt +++ b/src/GamCommands.txt @@ -4594,7 +4594,8 @@ gam show datastudiopermissions usecontentasindexabletext gam create|add drivefile [drivefilename ] - * [enforcesingleparent ] + * [stripnameprefix ] + [enforcesingleparent ] [csv [todrive *]] [returnidonly|returnlinkonly|returneditlinkonly|showdetails] ::= @@ -4610,7 +4611,7 @@ gam create|add drivefile [drivefilename ] (removeanyownerparentname )) gam update drivefile [copy] [returnidonly|returnlinkonly] - [retainname | (newfilename )] + [retainname | (newfilename )] [stripnameprefix ] * [enforcesingleparent ] [gsheet|csvsheet ] [charset ] [columndelimiter ] @@ -4620,7 +4621,8 @@ gam update drivefile [copy] [returnidonly|ret (modifieddate|modifiedtime