Scroll to bottom of page for installation/downloads
Latest updates
6.61.00
Following Jay's lead, added no_short_urls
variable to gam.cfg
. When false, the long scopes URLs in gam oauth create
and
gam <UserTypeEntity> check|update serviceaccount
will be shortened at the site https://gam-shortn.appspot.com
; the shortened
URL redirects to the long URL. For existing configurations, no_short_urls
defaults to true; the long URLs are used as is.
For new configurations the no_short_urls
defaults to false unless there is a file named noshorturls.txt
in the folder
specified by the environment variable OLDGAMPATH
.
6.60.31
Added option addcsvdata <FieldName> <String>
to gam print forms|formresponses
. This adds additional columns of data to the CSV file output.
This can be used to combine form information from several GAM commands.
Following Jay's lead, projects can now be created with consumer accounts.
6.60.30
Added option countsonly
to gam <UserTypeEntity> print|show formresponses
that causes GAM to display
the number of responses to a form rather than displaying the response details.
6.60.29
Updated gam <UserTypeEntity> delete|print emptydrivefolders
to show the path to the deleted folder
rather than just its name. Added an option to allow a starting point other that the root of My Drive or a Shared Drive.
Improved the commands performance.
6.60.28
Fixed bug in gam <UserTypeEntity> print filelist countsonly showsource stripcrsfromname
where
carriage returns, linefeeds and nulls were not stripped from file names.
6.60.27
Updated gam <UserTypeEntity> print filelist countsonly
to process addcsvdata <FieldName> <String>
.
Additional fields are added before Size
if present, otherwise Total
.
6.60.26
Added option orgunit|org|ou <OrgUnitPath>
to gam print|show teamdrives
that limits the display
to Shared Drives in the specified Org Unit.
6.60.25
Added option orgunit|org|ou <OrgUnitPath>
to gam print|show teamdriveacls
that limits the display
of permissions to Shared Drives in the specified Org Unit.
6.60.24
Updated gam <UserTypeEntity> info|show|print chatmessages
to show the sender email address
when the sender is a human.
6.60.23
Fixed bug in config csv_input_row_filter|csv_output_row_filter
where "field:date<today" was being processed
as "field:date<=today" and "field:date>=today" was being processeed as "field:date>today".
6.60.22
Added option pathdelimiter <Character>
to gam <UserTypeEntity> create drivefolderpath
to simplify
specifying folder paths where a folder name contains a /
. In the example, some folder has a '/' in it's name
so specifying pathdelimiter "|"
allows fullpath
to be properly processed. pathdelimiter
defaults to '/'.
gam user user@domain.com create drivefolderpath pathdelimiter "|" fullpath "My Drive|Top Folder|Middle/Folder|Bottom Folder"
6.60.21
Fixed bug in gam <UserTypeEntity> copy|create|update drivefile
where processing the following <DriveFileAttribute>
attributes
was not correct. Previously, if multiple properties of the same visibility were specified, only the first was processed;
now, all values are processed.
privateproperty <PropertyKey> <PropertyValue>
publicproperty <PropertyKey> <PropertyValue>
property <PropertyKey> <PropertyValue> [private|public]
6.60.20
Updated gam <UserTypeEntity> get document|drivefile <DriveFileEntity>
to handle shortcuts by downloading
the file that the shortcut references as the shortcut itself is not downloadable. If you do not want
this behavior and want GAM to report an error, use the option donotfollowshortcuts
.
6.60.19
Updated gam <UserTypeEntity> archive messages
to handle the following error:
ERROR: 400: failedPrecondition - Precondition check failed.
6.60.18
Updated gam <UserTypeEntity> print|show tokens
to handle the following error that occurs
when a group email address is specified rather than a user email address.
ERROR: 400: badRequest - Type not supported: userKey
6.60.17
Fixed bug in gam <UserTypeEntity> move drivefile
that caused an error when moving the contents
of a source Shared Drive to a target Shared Drive when mergewithparents
was not specified or was
explicitly set False.
6.60.16
Updated commands that create files to handle the following error:
403: storageQuotaExceeded - The user's Drive storage quota has been exceeded.
6.60.15
Updated gam print chromesnvalidity
to do case insenstitive serial number comparisons.
6.60.14
Added command to help verify Chrome device serial number validity.
gam print chromesnvalidity [todrive <ToDriveAttribute>*]
cros_sn <SerialNumberEntity> [listlimit <Number>]
[delimiter <Character>]
6.60.13
Updated gam <UserTypeEntity> print|show chatspaces
to handle the following error:
Error: 403: permissionDenied - Permission denied to perform the requested action on the specified resource
6.60.12
Added option tdretaintitle [<Boolean>]
that, when True
and used with tdfileid <DriveFileID>
,
causes GAM to not modify the CSV filename.
6.60.11
Fixed bug in gam print addresses
where non-editable user/group aliases were not displayed.
6.60.10
Added a command to get information about a direct message chat space between two users.
gam <UserTypeEntity> info chatspacedm <UserItem>
[formatjson]
6.60.09
Added option csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]]]
to these commands so that event details are displayed in CSV format.
gam calendar|calendars <CalendarEntity> create|import|update event
gam <UserTypeEntity> create|import|update event <UserCalendarEntity>
Added option additionalmembers [<GroupRole>] <EmailAddressEntity>
to gam update group|groups <GroupEntity> sync
that can be used to specify members in addition to those specified with <UserTypeEntity>
.
gam update group teachers@domain.com sync member additionalmembers counselor@domain.com ou /Teachers
Added commands to display Analytic account/property/datastream information.
6.60.08
Upgraded to Python 3.11.4 where possible.
6.60.07
Simplified specifying a Chat space name; previously, the space
keyword was required;
now, it can be omittted and you can just enter spaces/<String>
.
<ChatSpace> ::= spaces/<String> | space <String> | space spaces/<String>
6.60.06
Fixed bug in gam print aliases
that caused a trap.
6.60.05
Updated Chrome Policy commands to handle the following error:
ERROR: 403: permissionDenied - The caller does not have permission.
6.60.04
Updated gam <UserTypeEntity> copy|move drivefile <DriveFileEntity>
to disallow copying/moving
a folder into itself.
6.60.03
Updated commands to delete chatmembers; delete chatmembers
now deletes members by
specifying a chat space and user email addresses; remove chatmembers
deletes members by
specifying chatmember names.
gam <UserTypeEntity> delete chatmember space <ChatSpace>
((user <UserItem>)|(members <UserTypeEntity>))+
gam <UserTypeEntity> remove chatmember members <ChatMemberList>
6.60.02
Added option <ChatContent>
to gam <UserTypeEntity> create chatspace
to allow sending an initial message
to the newly created chatspace.
6.60.01
Updated gam <UserTypeEntity> create chatspace
to support chatspace types GROUP_CHAT
and DIRECT_MESSAGE
and to allow specification of members.
6.60.00
Added initial support for user chat spaces. This is a work in progress, test and report any problems.
Improved performance of gam <UserTypeEntity> delete|move|update othercontacts
.
Upgraded to OpenSSL 3.1.1 where possible.
Installation
If you are a first time Gam user:
If you are updating your GAMADV-XTD3 version:
If you are upgrading from standard Gam
If you are upgrading from GAMADV-X or GAMADV-XTD
sha256 hashes
600193cabddb3ae2020abd3d7551c634de69a64799fa504f60c5265aa7608302 gamadv-xtd3-6.61.00-linux-arm64-glibc2.23.tar.xz
b7b57593c3e3f2b515eabc860c360dc975364dfd0d85a517f1949890c916d5a0 gamadv-xtd3-6.61.00-linux-arm64-glibc2.27.tar.xz
2a4ca52590c88d166a3713fcb8016cdcf6ecd9a856fa1e8844590f5400f652ad gamadv-xtd3-6.61.00-linux-arm64-glibc2.31.tar.xz
7570e2103c05309f53e625393260a095e455c51deb2af7f8167aeaf73873d649 gamadv-xtd3-6.61.00-linux-x86_64-glibc2.19.tar.xz
fef3d1db95fb522c3e800b619050b51012a12dc37c96bf1f4a37a4a346da3cb7 gamadv-xtd3-6.61.00-linux-x86_64-glibc2.23.tar.xz
06c89ad1c60e736494de62ca111df06371942681b44bd2b7981cb75a6ff716a1 gamadv-xtd3-6.61.00-linux-x86_64-glibc2.27.tar.xz
91691abef4571ef432013e3e92da6f066ac0521d94b3367b783f7cfccd564728 gamadv-xtd3-6.61.00-linux-x86_64-glibc2.31.tar.xz
4ceefdc230784576e979c3d8675ab002209e0d4d7c1dab0fd3d4d52366b4de81 gamadv-xtd3-6.61.00-linux-x86_64-glibc2.35.tar.xz
1fc77ef0b2fcca211683214908231d5d23860dc0ed5b6be4938e553a099261a5 gamadv-xtd3-6.61.00-linux-x86_64-legacy.tar.xz
1d17b6fdf163c3c46c20f877ed7d648fd607175fd9b16591f6652b07e7bce8e6 gamadv-xtd3-6.61.00-macos-arm64.tar.xz
85a56e246fd0e1df2552bc6c6070b14d3060cdf6bf5aea643623b4a13e52f64d gamadv-xtd3-6.61.00-macos-x86_64-legacy.tar
da80cc893cea2d026d4ddf1b74ed6d02a012dcf88daf330f6d96e1bb8cecc014 gamadv-xtd3-6.61.00-macos-x86_64.tar.xz
488a3fab60998bd7d24d8a5b8c7281e594e075545817db460f319417e36423c8 gamadv-xtd3-6.61.00-windows-x86_64.msi
23029acf83db4a1d8088676c2a97c41a6b8a913ed0cee799171aa994b99649fa gamadv-xtd3-6.61.00-windows-x86_64.zip