Scroll to bottom of page for installation/downloads
Latest updates
6.29.02
Updated gam info|print|show crostelemetry
to avoid the following trap:
KeyError: 'temperatureCelsius'
6.29.01
Fixed bug in gam <UserTypeEntity> print|show labels
where fields messageListVisibility
,
labelListVisibility
and color
were not displayed.
Fixed bug in gam <UserTypeEntity> draft|insert|import message emlfile <FileName>
where the
Date
header in the file was overridden with the current date.
6.29.00
Added option emlfile <FileName>
to gam <UserTypeEntity> draft|insert|import message
that
allows processing an EML message file. SMTP headers specified in the command will replace those in the message file.
Following Jay's lead, added commands to manage/display Inbound SSO.
6.28.12
Fixed bug in gam create|update user ... password random notify <EmailAddress>
that caused a trap
when the random password contained {
and }
.
6.28.11
Fixed bug in gam <UserTypeEntity> update contact ... birthday ""
that caused a trap
rather that clearing the birthday from the contact.
6.28.10
Added option addcsvdata <FieldName> <String>
to gam create shareddrive ... csv
. This adds
additional columns of data to the CSV file output. For example, you are building student Shared Drives
and want to add ACLs to them adding the students as organizers. By adding the student's primary email address
to the CSV output, it can be used in subsequent commands.
StudentSharedDrives.csv
primaryEmail,Name
bob@domain.com,Bob Jones
mary@domain.com,Mary Smith
...
# Create the student Shared Drives
gam redirect stdout ./StudentSharedDrivesCreated.txt multiprocess redirect stderr stdout redirect csv ./StudentSharedDrivesCreated.csv multiprocess csv StudentSharedDrives.csv gam create shareddrive "~Name" csv addcsvdata primaryEmail \
"~primaryEmail"
# Add ACLs granting the students organizer access to their Shared Drives.
gam redirect stdout ./StudentSharedDrivesAccess.txt multiprocess redirect stderr stdout csv StudentSharedDrivesCreated.csv gam add drivefileacl "~id" user "~primaryEmail" role organizer
6.28.09
Updated `gam print filelist "query:mimeType='application/vnd.google-apps.folder'" to prevent the
following error.
ERROR: Invalid choice (query:mimetype='application/vnd): Expected <capabilities|contentrestrictions|labelinfo|labels|lastmodifyinguser|owners|parents|permissions|sharinguser|shortcutdetails|trashinguser>
6.28.08
Added option today
to gam report
to look for events on the current day. This will be most useful
with gam report <ActivityApplictionName>
as gam report users|customers
rarely has data for the current day.
Added option today
to gam <UserTypeEntity> print|show driveactivity
to look for events on the current day.
6.28.07
Added option csv [todrive <ToDriveAttribute>*] (addcsvdata <FieldName> <String>)*
to gam <UserTypeEntity> copy drivefile
that causes GAM to output CSV data detailing the name, id and mimeType of the copied files and folders
rather than text messages. These are the CSV headers:
User,name,id,newName,newId,mimeType
You can add additional columns of data from the command line to the CSV data with (addcsvdata <FieldName> <String>)*
.
Added option suppressnotselectedmessages [<Boolean>]
to gam <UserTypeEntity> copy drivefile
that causes GAM to suppress text messages referencing files and folders not selected for copying by the following options:
copysubfiles false [filenamematchpattern <RegularExpression>] [filemimetype [not] <MimeTypeList>]
copysubfolders false [foldernamematchpattern <RegularExpression>
copysubshortcuts false [shortcutnamematchpattern <RegularExpression>
6.28.06
Fixed bug in gam <UserTypeEntity> print|show messages ... showbody
that caused a trap.
Added code to handle the following error that occurs when copying permissions:
ERROR: 400: shareInNotPermitted - Bad Request. User message: "An item can't be shared with user@domain.com because of domain.com sharing policy"
6.28.05
Added the following items to <UserMultiAttribute>
:
employeeid <String>
as a synonym forexternalids organization <String>
manager <String>
as a synonym forrelations manager <String>
Added the following items to <UserFieldName>
:
employeeid
as a synonym forexternalids
manager
as a synonym forrelations
6.28.04
Added filtercontactgroup <PeopleContactGroupItem>
to <PeoplePrintShowUserContactSelection>
that is used by gam <UserTypeEntity> print|show contacts
. When selectcontactgroup <PeopleContactGroupItem>
is used in these commands, GAM makes an API call to get the list of contacts in <PeopleContactGroupItem>
and then makes an API call per contact to get the details; this may exceed quota limits.
When filtercontactgroup <PeopleContactGroupItem>
is used, GAM makes an API call to get all contacts and
then filters the list to only those in <PeopleContactGroupItem>
; quota limits should not apply.
6.28.03
Build MacOS x86_64 and arm64 executables.
6.28.02
Fixed bug in gam forward message|thread
that misformatted the message when Cc:
was present.
6.28.01
Fixed bug in gam forward message|thread
where subject was blanked out.
6.28.00
- Upgraded to Python 3.11.0 where possible.
- Upgraded to OpenSSL 3.0.7 where possible.
Fixed bug in gam forward message
where messages originally sent to multiple recipients
were not forwarded correctly.
Added command to forward threads; all messages referenced by the thread are forwarded; this is experimental, test.
gam <UserTypeEntity> forward thread|threads recipient|to <RecipientEntity>
(((query <QueryGmail>) (matchlabel <LabelName>) [or|and])+
[quick|notquick] [doit] [max_to_forward <Number>])|(ids <MessageIDEntity>)
[subject <String>]
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
sha256 hashes
19d5439aa41fbd39ca2c5e00939838020b937f3ba99c62464901549f5e17cba4 gamadv-xtd3-6.29.02-linux-arm64-glibc2.23.tar.xz
ebb8bddea051cfc0c29ba4801175fba88e9023d5b5bf5ce8f0c8b5d0a999ddf6 gamadv-xtd3-6.29.02-linux-arm64-glibc2.27.tar.xz
e34981bb5d0fb7a00dfaee73e16fd8a78b138dc508daf9794721a3a4c0253e2c gamadv-xtd3-6.29.02-linux-arm64-glibc2.31.tar.xz
41cca458bf886ec7c5cc0b2c0f8e0c293b743de910c7cfb34b5315e74674b590 gamadv-xtd3-6.29.02-linux-x86_64-glibc2.19.tar.xz
658f1cbe6dbc1c8f276fa98385fa3cc67dbca9d13aab085895cb9036681af26d gamadv-xtd3-6.29.02-linux-x86_64-glibc2.23.tar.xz
c6bf6230362a8c667fac947344ca1c4eeb863a6e9a0c189879c86f9f399a39ba gamadv-xtd3-6.29.02-linux-x86_64-glibc2.27.tar.xz
602a87aa76006e21b3f82e8c9cb6338dee1e2167b53f9a1b883052cbf337e44a gamadv-xtd3-6.29.02-linux-x86_64-glibc2.31.tar.xz
8a1f4846e867bcc3c8114237c4bd50202bf30c4d08754bc7698c671cacaeb18f gamadv-xtd3-6.29.02-linux-x86_64-glibc2.35.tar.xz
5305c7e07c18e64b2cb5b8a009d0bdc6ea8c58c31b4f2540962821583ca69640 gamadv-xtd3-6.29.02-linux-x86_64-legacy.tar.xz
f76d8e74d5f9a3c6666d7b840b1aa93e446effd040f59b16bcb1b0ca520b7e26 gamadv-xtd3-6.29.02-macos-arm64.tar.xz
9852501929d9b1b4ad2ca4262a16e2c93cb9206efc9bbf54ab21b964a4c0558f gamadv-xtd3-6.29.02-macos-x86_64-legacy.tar
7900549bad4107796c24eedbc7cf3ddf988d5276e99a36cd55f233eadfe9b0bd gamadv-xtd3-6.29.02-macos-x86_64.tar.xz
87a9c3a9a35aa6c29be5ac6944af1515ae16490270ad2ab973efbbe9af35ba10 gamadv-xtd3-6.29.02-windows-x86.msi
2978682f21c2b01b3db83ad2620ed1d71ee42593868a1ef34fd5bd0da2719f42 gamadv-xtd3-6.29.02-windows-x86.zip
d4ac4a8988fb7ae1a861ff0e5873938d4d44186ab2bbb6571cf138e60ac24584 gamadv-xtd3-6.29.02-windows-x86_64.msi
faa720a09196fb0dff43e935bf92e041ae1ad3ac14eec56963fd9352b282c416 gamadv-xtd3-6.29.02-windows-x86_64.zip