Skip to content

Releases: taers232c/GAMADV-XTD3

GAM 6.04.01

08 Jun 00:38
32a3643
Compare
Choose a tag to compare

Latest updates

Following Jay's lead, added chat bot commands.

Added keep to <ActivityApplicationName> so you can do gam report keep.

Handle the following error when trying to share a folder on a Team Drive to a domain.

ERROR: 400: invalidLinkVisibility - Bad Request. User message: ""

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD

GAM 6.04.00

07 Jun 22:48
6700a57
Compare
Choose a tag to compare

Latest updates

Following Jay's lead, added chat bot commands.

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD

GAM 6.03.34

07 Jun 04:35
701f6fe
Compare
Choose a tag to compare

Latest updates

Added option stripnameprefix <String> to gam create|copy|update drivefile to aid in the following situation.
You have a CSV file listing some files owned by an external user; your ultimate goal is to move them to a Shared Drive.
This is not possible so you decide to make locally owned copies, backup the externally owned originals and then rename
the copies to have the original name and then move those copies to thw Shared Drive.

# Make copies of the externally owned files
gam csv ./ExtFiles.csv gam user [email protected] copy drivefile "~id"
# You now have `FileName` and 'Copy of Filename`; move the originals to a backup folder
gam csv ./ExtFiles.csv gam user [email protected] update drivefile "~id" parentid <BackupParentFolderID>
# Generate a list of the "Copy of " copied files
gam redirect csv ./CopyOfFiles.csv user [email protected] print filelist fields id,name query "name contains 'Copy of '"
# Rename the files stripping off the "Copy of " prefix
gam csv ./CopyOfFiles.csv gam user [email protected] update drivefile "~id" newfilename "~name" stripnameprefix "Copy of "

Updated gam copy drivefile to handle the following error:

ERROR: internalError - Internal Error

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD

GAM 6.03.33

06 Jun 20:43
fc386d3
Compare
Choose a tag to compare

Latest updates

Added option stripnameprefix <String> to gam create|copy|update drivefile to aid in the following situation.
You have a CSV file listing some files owned by an external user; your ultimate goal is to move them to a Shared Drive.
This is not possible so you decide to make locally owned copies, backup the externally owned originals and then rename
the copies to have the original name and then move those copies to thw Shared Drive.

# Make copies of the externally owned files
gam csv ./ExtFiles.csv gam user [email protected] copy drivefile "~id"
# You now have `FileName` and 'Copy of Filename`; move the originals to a backup folder
gam csv ./ExtFiles.csv gam user [email protected] update drivefile "~id" parentid <BackupParentFolderID>
# Generate a list of the "Copy of " copied files
gam redirect csv ./CopyOfFiles.csv user [email protected] print filelist fields id,name query "name contains 'Copy of '"
# Rename the files stripping off the "Copy of " prefix
gam csv ./CopyOfFiles.csv gam user [email protected] update drivefile "~id" newfilename "~name" stripnameprefix "Copy of "

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD

GAM 6.03.32

05 Jun 00:05
3ce69c7
Compare
Choose a tag to compare

Latest updates

Added option notdomain <RegularExpression> to <PermissionMatch> to make it easier to
select files owned by someone outside of your domain.

gam user [email protected] print filelist showownedby others fields id,name,owners.emailaddress pm type user role owner notdomain domain.com em

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD

GAM 6.03.31

04 Jun 17:51
0c71d61
Compare
Choose a tag to compare

Latest updates

Fixed a bug in gam create|update user where the required area field in location
could be omitted and no error message was given.

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD

GAM 6.03.30

02 Jun 20:57
f43cfa4
Compare
Choose a tag to compare

Latest updates

Added option addtitle <String> to gam print|show drivefileacls to provide more useful output
when reading file IDs from a CSV file. By default, just the file ID is displayed with the permissions;
the showtitles option adds the file name to the output at the expense of an additional API call.
If you have the file name in the CSV file, you can use the addtitle option to supply the file name.
For example, to get the ACLs for your Team Drives with the Team Drive name included in the output:

gam redirect csv ./TeamDrives.csv print teamdrives
gam redirect csv ./TeamDriveACLs.csv multiprocess csv ./TeamDrives.csv gam print drivefileacls teamdriveid "~id" addtitle "~name" fields id,domain,emailaddress,role,type,deleted

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD

GAM 6.03.29

02 Jun 04:57
231d82e
Compare
Choose a tag to compare

Latest updates

Added option stripcrsfromname to the following commands that causes carriage returns \r
to be stripped from drive file names. This option is special purpose and will not generally be used.

gam <UserTypeEntity> show fileinfo
gam <UserTypeEntity> print filelist
gam <UserTypeEntity> print|show filetree
gam <UserTypeEntity> print|Show filerevisions

How did a carriage return get added to a drive file name? Good question; the files seen so far are named Icon\r.

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD

GAM 6.03.28

29 May 15:58
a5f7241
Compare
Choose a tag to compare

Latest updates

Fixed bug in gam <UserTypeEntity> print filelist where blank lines were being displayed after
the Got n Drive File/Folder ... messages.

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD

GAM 6.03.27

28 May 21:46
5ddcd40
Compare
Choose a tag to compare

Latest updates

Updated gam print courses to handle the following error.

ERROR: 503: serviceNotAvailable - The service is currently unavailable.

Updated gam <UserTypeEntity> move events <UserCalendarEntity> <EventEntity> to|destination <CalendarItem>
to correct an incorrect error message from Google.

  • Incorrect message: Move Failed: You need to have reader access to this calendar.
  • Correct message: Move Failed: You need to have writer access to both calendars.

Installation

If you are a first time Gam user:

If you are upgrading from standard Gam

If you are upgrading from GAMADV-X or GAMADV-XTD