Scroll to bottom of page for installation/downloads
Latest updates
6.61.02
Fixed bug in gam update groups <GroupEntity> sync
introduced in 6.60.31 that caused this error:
ERROR: 409: generic409 - Member already exists.
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
21e69ef04c1f56fcd46f41835a472dbecf9a50f971a796eded63f5afa854a835 gamadv-xtd3-6.61.02-linux-arm64-glibc2.23.tar.xz
f78a89a57d9156de7c301041b50dbe00423326db5918a0ab9c5aabe5e257780f gamadv-xtd3-6.61.02-linux-arm64-glibc2.27.tar.xz
71e2e3b2cc2da457934d5cdf88dfd62c144aa2be81c2ab54cf295f5aee77f4f0 gamadv-xtd3-6.61.02-linux-arm64-glibc2.31.tar.xz
679aa9088800cb2a91633b070dff2450ae81a3779a8b05a41e6e1d41deadb03f gamadv-xtd3-6.61.02-linux-x86_64-glibc2.19.tar.xz
e547b3b278f49bb346f9d0f00e046e0190e71c5b6b15894b0147d0956359c3c9 gamadv-xtd3-6.61.02-linux-x86_64-glibc2.23.tar.xz
19eb69e02e1d4a594dcc385628f022a57ee3cdeab489c82ad2f091b94ad137e9 gamadv-xtd3-6.61.02-linux-x86_64-glibc2.27.tar.xz
c66dad7a2bb55f83c2f4eb8b7f23065f57a49b141fd8f0c840d9f5eb3c4a2da9 gamadv-xtd3-6.61.02-linux-x86_64-glibc2.31.tar.xz
84e067af03519af945d1e0d6d8e36bef64aaa6ee71ea0013bd339eac5daa697f gamadv-xtd3-6.61.02-linux-x86_64-glibc2.35.tar.xz
6b296ff4bcdaeca4979b28113eab7090de1f9ea5a765dd8958f8fb20961b28b9 gamadv-xtd3-6.61.02-linux-x86_64-legacy.tar.xz
90c5bd6a19094dd8fc2318d8764ff3f5b3eaf3961d72cef2dbb2b9ecde3c58a2 gamadv-xtd3-6.61.02-macos-arm64.tar.xz
3dbf507a59e20ba0df22f0c8980147a51cc4c358dc88ed7668eaa47c279a996a gamadv-xtd3-6.61.02-macos-x86_64-legacy.tar
5d69243279379671a351c00715f693e31f2f0778d274ff370f255780e2e8656e gamadv-xtd3-6.61.02-macos-x86_64.tar.xz
85dc615b59f286255a2dd651537aae11cd27e0edf8f4fc1545951225ec361b73 gamadv-xtd3-6.61.02-windows-x86_64.msi
bda630fcb96016d41cea4d9c2862ee1041f7bd2b82a11ff1cee274403525062d gamadv-xtd3-6.61.02-windows-x86_64.zip