Scroll to bottom of page for installation/downloads
Latest updates
6.61.01
Added option noactionifalias
to gam delete groups <GroupEntity>
that prevents GAM from deleting a
group if <GroupEntity>
specifies an alias rather than a primary email address.
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
4bb9adfd9be6bc06b1a9dceb88dbf8ddc8a1f0a012f7e4a9f19199839d5dd3ed gamadv-xtd3-6.61.01-linux-arm64-glibc2.23.tar.xz
db0e84569056117f28f225652a3e1175c6449a115fe9f9b578c3345ee7a13c47 gamadv-xtd3-6.61.01-linux-arm64-glibc2.27.tar.xz
0f5adc28ffc3ae162b74dcd20d41d10f2b6a6dd5f41a2efa0158a534e606a1c2 gamadv-xtd3-6.61.01-linux-arm64-glibc2.31.tar.xz
d5439d9a7e7779409e177250262727fae40746ca3f0123a96e9cb5513e64d239 gamadv-xtd3-6.61.01-linux-x86_64-glibc2.19.tar.xz
875f30a11288e581086a9906b5aafa38c6a1500ef52f25a3478278c6ba570123 gamadv-xtd3-6.61.01-linux-x86_64-glibc2.23.tar.xz
7456ba4dd6a0498d43076729da5b5280506ca36ade47f35d4af0361da39b45da gamadv-xtd3-6.61.01-linux-x86_64-glibc2.27.tar.xz
c8efb261180f20ffeaceff2d9e6e8626b6357510dc3f048bcd3fb96178be62ee gamadv-xtd3-6.61.01-linux-x86_64-glibc2.31.tar.xz
0eb1c61c9d6ba3a97e1b1f9933f752b2165d62fb6581195b0739d6691bf28960 gamadv-xtd3-6.61.01-linux-x86_64-glibc2.35.tar.xz
73a12f9a9361082b1f00087cc1b037cf5a1c04cfc34b4761ba2a1b8405984ddb gamadv-xtd3-6.61.01-linux-x86_64-legacy.tar.xz
2db37aae7f646adc0c0a98ddef3d4c5ee79dd3738e97ca219944511de7f9b9b2 gamadv-xtd3-6.61.01-macos-arm64.tar.xz
5e76f61ffe8d598f457c71e704fb8d26c2e4e4d4921a4214740d2992b1262c7f gamadv-xtd3-6.61.01-macos-x86_64-legacy.tar
741f233b59a88f7a478912802f0695caf7362874259d6baed8b4f6c4bfccc013 gamadv-xtd3-6.61.01-macos-x86_64.tar.xz
1a6afa104e549c38ec272536a878f26447408bf254c4ab47dc5ae4353507af03 gamadv-xtd3-6.61.01-windows-x86_64.msi
f51b74d0eed44420ac944c640a6a1add59867110e4bbde2f0059ede7cad291b8 gamadv-xtd3-6.61.01-windows-x86_64.zip