Scroll to bottom of page for installation/downloads
Latest updates
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
d64a3a63c909d30e92c7b4b5a154695d8e774e4a4a9d609d7f247377995d7d09 gamadv-xtd3-6.29.00-linux-arm64-glibc2.23.tar.xz
cd5c418fbca7fda740b9aa8f6f9c1aed6c1a063267f1e0faf9e6d1bd95ca7446 gamadv-xtd3-6.29.00-linux-arm64-glibc2.27.tar.xz
e57d4319fdf6bc8e4bcf3457be5fb7ef02a7e49bfbbdfce04c054ec5d980bedc gamadv-xtd3-6.29.00-linux-arm64-glibc2.31.tar.xz
5410e804cd952ae76045fcd8db2546988c6861d5ced2e992cd78c3b24b3b0788 gamadv-xtd3-6.29.00-linux-x86_64-glibc2.19.tar.xz
35ecb9ddeb2a64022ed2926b476439cfc2f209b5876ebe6ae8486d8d0a080af6 gamadv-xtd3-6.29.00-linux-x86_64-glibc2.23.tar.xz
a8727417b1e5e54497bd0d4a555c6f0f72f753bea6403ab4278912bd5752e2eb gamadv-xtd3-6.29.00-linux-x86_64-glibc2.27.tar.xz
44233f394b2d3155b841e36f879e1e8ba83e32e3a72ae8a4b5468078bef5ab89 gamadv-xtd3-6.29.00-linux-x86_64-glibc2.31.tar.xz
32dd203b1aa03d56c4f0593a6e62fb043b7e6ab0146a74eeb095cc8290b95ab2 gamadv-xtd3-6.29.00-linux-x86_64-glibc2.35.tar.xz
1540654407925550affd8f69fbf074c9af9075a46fd1c39ee3d537d0e53bdcbd gamadv-xtd3-6.29.00-linux-x86_64-legacy.tar.xz
3313a3d139f397a0271a285921f298eda4536946fcbdb1f5618aa868df5b1f9e gamadv-xtd3-6.29.00-macos-arm64.tar.xz
9aabc5c885485174480950ed147317d3ea10b8aa1909832d7863f945ea90a26b gamadv-xtd3-6.29.00-macos-x86_64-legacy.tar
7628eeb8d10cc319136b220b35383d5d961f489ff4f832dee693edc43877fa4c gamadv-xtd3-6.29.00-macos-x86_64.tar.xz
497f9ac90703d32d3bd64e6d764e14c96e0be697fe7511ed3a6177393bff2e9a gamadv-xtd3-6.29.00-windows-x86.msi
891e425e7797f09e4fb4709b020695f6fadbd505d60e78810848d9e45cad6532 gamadv-xtd3-6.29.00-windows-x86.zip
0a7bfba4a15518ae5e0eb62a7a361290ea722697d0332fe15e5100f708eea00f gamadv-xtd3-6.29.00-windows-x86_64.msi
9d62ea6e7ee0d8c8b1c5091367cbfd6cf743b6d06495a8e916f0ee679b243d71 gamadv-xtd3-6.29.00-windows-x86_64.zip