Scroll to bottom of page for installation/downloads
Latest updates
6.29.04
Updated multiprocessing on MacOS to use spawn
instead of fork
when starting subprocesses
as fork
was unreliable when large numbers (>20) of threads were used; subprocesses would
hang and never complete.
6.29.03
Thanks to Jay, added support for the user field displayName that can be set independently of
fullName`.
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
d07aafe61e46a5faccaa7a7746c2ea4dc7a96fd2f79227e1ffb1b819071c0f50 gamadv-xtd3-6.29.04-linux-arm64-glibc2.23.tar.xz
7fba7296c9f37fddf58f1c1632b197f559c5d7540e404fe9f3d6a4ddc2be9ac6 gamadv-xtd3-6.29.04-linux-arm64-glibc2.27.tar.xz
29ff35d085c3ac21e7fdbb2fe1637c80449beb28b5624b57a1e22fddd651888c gamadv-xtd3-6.29.04-linux-arm64-glibc2.31.tar.xz
fd15f40c3c50da6c150792e9fc034a03f3d8539979bb3193ed54d46d900f3dbb gamadv-xtd3-6.29.04-linux-x86_64-glibc2.19.tar.xz
3aa5037de60f17102198965731ee906a9615616bb57f9fc1f09744445c237ed5 gamadv-xtd3-6.29.04-linux-x86_64-glibc2.23.tar.xz
0d3527a54d308d67c2211864f77e09296e740c39c9906b1ee9bb5a4355369f9d gamadv-xtd3-6.29.04-linux-x86_64-glibc2.27.tar.xz
a0e3684f5aff181215a4879967744d505248b0335ad3beef6a03e7ec335b1ac2 gamadv-xtd3-6.29.04-linux-x86_64-glibc2.31.tar.xz
b1fad494688e07dcf28b6c904ca26d143418f09700ad77be6777ad047d0ad4eb gamadv-xtd3-6.29.04-linux-x86_64-glibc2.35.tar.xz
a1e32300f405d3cd7c83cf8aa21f697af3c46a44ffed849d2f65541b42e66f65 gamadv-xtd3-6.29.04-linux-x86_64-legacy.tar.xz
9670c1362810c1d9be525628c57ae4c51268be3dabdea74b441a617cee33a898 gamadv-xtd3-6.29.04-macos-arm64.tar.xz
6a7d43fc9cb2ca0c0282b1f21dd3f4016ccc04bcdcaefc46b8c320825b5f4b71 gamadv-xtd3-6.29.04-macos-x86_64-legacy.tar
e4050ca8e54dd879b9f35d9f38bd8e88e83a4a39981648ef36ec2b0c43b0ae31 gamadv-xtd3-6.29.04-macos-x86_64.tar.xz
e6b6adb2edb97596fa9810d924481ab8fb91df8297289e1e3bf871fc89538398 gamadv-xtd3-6.29.04-windows-x86.msi
621d1c60f83e37122df4cb5eea7589e46e87056b3f95140c840037e25d2386a6 gamadv-xtd3-6.29.04-windows-x86.zip
79625f53d67418a0a98f2374b65c32cf5981cd2ae04735540c1c12b4b060566a gamadv-xtd3-6.29.04-windows-x86_64.msi
5b5ac77ae80da88026616115b921f817898286c20ff9e81266ae40457ff31ed4 gamadv-xtd3-6.29.04-windows-x86_64.zip