Scroll to bottom of page for installation/downloads
Latest updates
6.57.10
When doing commands similar to these:
gam redirect csv - multiprocess todrive csv Users.csv gam user "~primaryEmail" print filelist ...
gam config auto_batch_min 1 redirect csv - multiprocess todrive <UserTypeEntity> print filelist ...
GAM was including the name of the last user processed in the title of the uploaded Google Sheet;
as this is not accurate, it has been eliminated.
6.57.09
Added emailaddresslist <EmailAddressList>
to <PermissionMatch>
that allows matching any email address in a list.
6.57.08
Updated gam <UserTypeEntity> print|show contacts|othercontacts
to retry the following error:
serviceNotAvailable - The service is currently unavailable.
6.57.07
Updated code to recognize the following Google Drive API error that is issued when Google
doesn't recognize an email address as valid.
$ gam user user@domain.com print filelist query "'j@ab.net' in writers" fields id,name
Getting all Drive Files/Folders that match query ('me' in owners and ('j@ab.net' in writers)) for user@domain.com
ERROR: 400: badRequest - Bad Request
$ gam user user@domain.com print filelist query "'j@ab.com' in writers" fields id,name
Getting all Drive Files/Folders that match query ('me' in owners and ('j@ab.com' in writers)) for user@domain.com
Got 0 Drive Files/Folders that matched query ('me' in owners and ('j@ab.com' in writers)) for user@domain.com...
Owner,id,name
6.57.06
Added inherited <Boolean>
to <PermissionMatch>
that applies only to Shared Drive files/folders;
this makes it easy to identify files/folders on Shared Drive with non-inherited permissions.
gam user organizer@domain.com print filelist select teamdriveid <TeamDriveID> fields id,name,mimetype pm inherited false em pmfilter oneitemperrow
This clause will always cause a permission match failure on My Drive files/folders.
6.57.05
Updated gam batch <BatchContent>
and gam tbatch <BatchContent>
commands to accept lines with the following form:
clear keyword
This can improve performance as subsequent lines in <BatchContent>
will not be scanned for %keyword%
.
6.57.04
Updated gam batch <BatchContent>
and gam tbatch <BatchContent>
commands to accept lines with the following form:
set keyword value
Subsequent lines in <BatchContent>
will have %keyword%
replaced with value
.
6.57.03
Updated gam <UserTypeEntity> info|print|show contacts|othercontacts
and
gam info|print|show peoplecontacts|peopleprofiles
to default to displaying the fields names,emailaddresses,phonenumbers
as documented rather than all fields.
6.57.02
Following Jay's lead, removed Google bug (237397223) workaround code in
gam print devices|deviceusers|crostelemetry
as the bug is now fixed.
6.57.01
Updated gam <UserTypeEntity> vacation
to handle the following error:
ERROR: 400: failedPrecondition - Precondition check failed.
What the error means is unknown to me at the moment.
Updated GAM so that when the current project ID is required, it will first try to get it from oauth2service.json and
if not successful, try to get it from client_secrets.json. There are cases, e.g., when DASA is enabled,
that client_secrets.json is not present.
Previously, GAM checked for the existence of client_secrets.json on every command; this check has been
eliminated as the file is only required by gam oauth create
.
6.57.00
Following Jay's lead, updated gam create admin
to allow assignment of a delegated admin role to a group.
Updated gam print admins
to display whether a role is assigned to a user or a group.
Updated version number to align with Standard GAM.
6.54.06
Added options users <EmailAddressList>
and groups <EmailAddressList>
to gam print aliases
that is more
efficient for getting aliases for specific users and groups.
Added option select <UserTypeEntity>
to gam print aliases
that allows specification of a list users by <UserTypeEntity>
;
e.g., a group or an org unit.
Added option delimiter <Character>
to gam print aliases
that is applicable when option onerowpertarget
is specified.
Previously, multiple aliases were separated by a space character. Now, by default, the aliases are separated by the csv_output_field_delimiter' from
gam.cfg. The option
delimiter ` overrides that value.
6.54.05
Added option addcsvdata <FieldName> <String>
to gam print aliases
. This adds additional columns of data to the CSV file output.
This can be used when printing aliases for departed employees to indicate the new target for the user's alises. Subsequent
commands using the CSV file can reassign the aliases to the new target.
6.54.04
Updated gam print|show channelcustomerentitlements
to handle the following error when
none of gam.cfg/channel_customer_id
or command line arguments channelcustomerid
or name
are set.
ERROR: Parameter "parent" value "accounts/C03kt1789/customers/" does not match the pattern "^accounts/[^/]+/customers/[^/]+$"
6.54.03
By special request, British spelling of various keywords/arguments is now available.
backgroundcolor backgroundcolour
color colour
colorindex colourindex
costcenter costcentre
fileorganizer fileorganiser
foregroundcolor foregroundcolour
license licence
licenses licences
nolicenses nolicences
organization organisation
organizationname organisationname
organizations organisations
organizer organiser
organizeremail organiseremail
organizername organisername
textcolor textcolour
6.54.02
Updated gam <UserTypeEntity> get photo
and gam <UserTypeEntity> get profilephoto
to inspect the
photo data and add the appropriate extension: jpg
, png
, gif
. If the type of the photo can't be
determined, img
is used as the extenstion. If you use [filename <FileNamePattern>]
, #ext#
will be replaced
with the extension.
Updated gam <UserTypeEntity> [create|add] sendas <EmailAddress> [name] <String>
to allow the
optional argument name
before <String>
to make clear that <String>
is the sendas display name.
6.54.01
Added commands to export messages/threads in EML/raw format.
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Gmail-Messages-Threads#export-messagesthreads
6.54.00
Following Jay's lead, updated gam delete inboundssoassignment <SSOAssignmentSelector>
to allow
more flexibility in selecting assignments to delete.
Fixed bug in gam <UserTypeEntity> print|show filesharecounts
that would cause a trap.
Updated gam <UserTypeEntity> print filelist ... fullpath showparent
and gam <UserTypeEntity> print filepath
to properly display the file path of My Drive.
Upgraded to Python 3.11.3 where possible.
Added commands to create and delete Chrome networks.
gam create chromenetwork
<OrgUnitItem> <String> <JSONData>
gam delete chromenetwork
<OrgUnitItem> <NetworkID>
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
4589e0b626237a2a0697a4ff0946636cb205bfcfe832c4e064b81d2779827c13 gamadv-xtd3-6.57.10-linux-arm64-glibc2.23.tar.xz
6d0aeac9643253b5faed07ce475dc86f3d47a18e80496d9b3963588f4dc254f1 gamadv-xtd3-6.57.10-linux-arm64-glibc2.27.tar.xz
ba482b3ea554798dfe66c41ba55e79ec2866c74bcce3bec4a99da05f3f4699c3 gamadv-xtd3-6.57.10-linux-arm64-glibc2.31.tar.xz
f5571fdd0ebb8a77771a662d3736f24a84fdf582bc64e89967eebc18c79e224b gamadv-xtd3-6.57.10-linux-x86_64-glibc2.19.tar.xz
9fd74c95ecbd78164bb9150bd5e18aceaf145ffe298b5acd8e5881d4f134be0b gamadv-xtd3-6.57.10-linux-x86_64-glibc2.23.tar.xz
9e53fc8849412dc4db0f074232bf90b4642d01a3be78fc5dea53abc060f36cda gamadv-xtd3-6.57.10-linux-x86_64-glibc2.27.tar.xz
079b935c0722373bde4dfb5921086370b1271c2e7e6e2313d82a5d01cf448a77 gamadv-xtd3-6.57.10-linux-x86_64-glibc2.31.tar.xz
718f95f2465f52a4e17231c83aaded718283d01a3c688f8fb09418b81631f146 gamadv-xtd3-6.57.10-linux-x86_64-glibc2.35.tar.xz
ff9777e2558218c6acc2c908a7f226b19b0e1e3645ad163f159970de3e8a7a64 gamadv-xtd3-6.57.10-linux-x86_64-legacy.tar.xz
6d4fab0b3f7e710b4d6dcb47c311457b201adfc0d0a1f5aab387c0046ca4bc60 gamadv-xtd3-6.57.10-macos-arm64.tar.xz
5d23998a9a06afc0ae405ba6cd7542185fc334174b1a5ffdd99427ceb03a28a9 gamadv-xtd3-6.57.10-macos-x86_64-legacy.tar
6a79f0d50021a97e2a0a367483276ba3765ac09aabc2bc88ea9d9f0357a11488 gamadv-xtd3-6.57.10-macos-x86_64.tar.xz
26b636d3e18a8a0b13dd3f91a382d2c0f36d455ba13e0a036238d5962e64509f gamadv-xtd3-6.57.10-windows-x86.msi
b28644f848e88a6f17294e302a4b92c34fdad8dca23b283de41a3fc74667c3d3 gamadv-xtd3-6.57.10-windows-x86.zip
e4c6d2c8dcbfd24b1a911a9887279e76590454ef2ae14475b7af6e75c8a20968 gamadv-xtd3-6.57.10-windows-x86_64.msi
bf911ff17f4865bb2ffdc46fa1cfd34cb10cb0acfab919c3f0379348350ed9c0 gamadv-xtd3-6.57.10-windows-x86_64.zip