Scroll to bottom of page for installation/downloads
Latest updates
6.27.20
Added option url <URL>
to gam <UserTypeEntity> create|update drivefile
that allows
GAM to upload files referenced by URL
to Google Drive.
Added csv_input_row_limit
variable to gam.cfg
that is used to limit the number of rows read from a CSV file.
Added csv_output_row_limit
variable to gam.cfg
that is used to limit the number of rows written to a CSV file.
6.27.19
Added option embedimage <FileName> <String>
to the following commands that allows
embedding images in HTML email messages.
gam sendemail [recipient|to] <RecipientEntity>
gam <UserTypeEntity> sendemail recipient|to <RecipientEntity>
gam <UserTypeEntity> sendemail from <EmailAddress>
gam <UserTypeEntity> draft|import|insert message
Your HTML message will contain lines like this:
<img src="cid:image1"/>
<img src="cid:image2"/>
Your command line will have: embedimage file1.jpg image1
embedimage file2.jpg image2`
Added archive
as a synonym for archived
and suspend
as a synonym for suspended
in <UserBasicAttribute>
.
6.27.18
Added option tdshare <EmailAddress> commenter|reader|writer
to <ToDriveAttribute>
. When a new
todrive file is created, i.e., tdfileid <DriveFileID>
is not specified, the uploaded file will
be shared as specified. <EmailAddress>
must be valid within your Google Workspace.
6.27.17
Updated todrive tdfileid <DriveFileID>
to display an informative error message when Google generates
an Internal Error
. It appears that the file was successfully uploaded and converted to a sheet but
the conversion took longer that the API was willing to wait, so it generated the error.
6.27.16
Updated todrive tdfileid <DriveFileID>
to not perform retries for Internal Error
when updating an existing file
as the 6.27.15 update didn't fix the underlying problem.
6.27.15
Fixed bug in gam show chromeschemas
that caused a trap due to unexpected data from Google.
Updated gam <UserTypeEntity> collect orphans
to handle the error:
ERROR: 403: shortcutTargetInvalid - The specified file is not an allowed shortcut target type.
These are typically Google Backup & Sync images of laptops.
Fixed bug in gam <UserTypeEntity> sendemail from <EmailAddress>
that reported:
User: user@domain.com, Send Email to 0 Recipients
Updated todrive tdfileid <DriveFileID>
to perform retries for Internal Error
when updating an existing file.
Added option noselfowner
to all commands that print or show calendar ACls;
it suppresses the display of ACLs that reference the calendar itself as its owner.
6.27.14
Extended gam print addresses
to include information about domains and resource calendars.
A new column Target
was added that displays target information for user, group and domain aliases.
6.27.13
Added option showdate
to gam <UserTypeEntity> print|show messages|threads
that displays
the internalDate
field for a message|thread.
The internal message creation timestamp (epoch ms), which determines ordering in the inbox.
For normal SMTP-received email, this represents the time the message was originally accepted by Google,
which is more reliable than the Date header.
6.27.12
Added option labellist <LabelNameEntity>
to gam <UserTypeEntity> print|show labels
to allow selection of labels to display.
Added option cigrouptree
to gam info user
. Previously, the grouptree
option used
the Cloud Identity Groups API to display the users group tree structure. This API is licensed
and the command would generate an error if you didn't have the license. Now, the grouptree
option
uses the Directory API and the cigrouptree
option uses the Cloud Identity Groups API.
Updated gam <UserTypeEntity> collect orphans
to not use shortcuts by default.
If an orphan file can have its parent changed without affecting its access by other users, the parent is changed.
If a parent change would affect the access by other users, a shortcut is created. You can still use
the useshortcuts true
option to force the use of shortcuts. If you specify the preview
option,
a new column, action
, shows changeParent
or createShortcut
to indicate what action will be taken
when preview
is omitted.
6.27.11
Added options showparentsaslist [<Boolean>]
and delimiter <Character>
to gam print grouptree
and
gam <UserTypeEntity> print grouptree
that display the group parent emails and names in two columns
as delimited lists rather than multiple indexed columns.
Added options downloadattempts <Integer>
and retryinterval <Integer>
to gam download vaultexport
that cause GAM to wait for a vault export to be completed. By default, GAM makes only one download attempt.
If multiple attempts are specified with downloadattempts <Integer>
, GAM waits retryinterval <Integer>
seconds
between attempts; the default retry interval is 30 seconds.
6.27.10
Added command gam <UserTypeEntity> print|show grouptree
to display a user's groups and their parent groups.
6.27.09
Corrected JSON output in gam <UserTypeEntity> print userlist
.
6.27.08
Added command gam <UserTypeEntity> print userlist
to display the list of users in <UserTypeEntity>
in a single row.
6.27.07
Fixed bug introduced in 6.27.06 that caused commands that get a list of groups for a specific user to fail;
e.g., gam info user user@domain.com
.
6.27.06
Fixed bug in gam print addresses
where no output was generated.
Updated multiprocessing to fix issues on Mac OS where excuting commands from a CSV file would
hang if the number of threads was 20 or greater.
6.27.05
Updated gam create vaultexport
to handle the following error that occurs when the
region
option is specified but is not allowed by your licenses.
ERROR: 400: invalidArgument - Request contains an invalid argument.
6.27.04
Updated gam download vaultexport
to replace :
with -
in the download filename to avoid
issues on Windows.
6.27.03
Fixed update in 6.27.01 to allow empty resource calendar feature lists.
6.27.02
Added options labelinfo
and <DriveLabelInfoSubfieldName>
to <DriveFieldName>
and
option includelabels <DriveLabelIDList>
to gam <UserTypeEntity> show fileinfo
and
gam <UserTypeEntity> print filelist
to allow easier access to display drive file labels.
This options do not require an extra API call like the showlabels details|ids
option does.
gam user user@domain.com show fileinfo 1kM4T2K4l0CCdR8lmp0pdXcytghAzXZ2fe5ThQpDwxyz fields id,name,mimetype,labelinfo includelabels "mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb"
gam user user@domain.com show fileinfo query "'labels/mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb' in labels" fields id,name,mimetype,labelinfo.fields includelabels "mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb"
6.27.01
Updated <ResourceAttribute>
to allow features ""
for resources.
6.27.00
Updated code to use Python yield functionality when downloading long lists of items from Google APIs.
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
ce0797f78608f5a88e5878aed3fdf5ae04c6a0a8d64407a0f63c9d6d1a46dc82 gamadv-xtd3-6.27.20-linux-arm64-glibc2.23.tar.xz
b42f7c1106da69fe6804b5493d5bc73ee545c64a5513701a31aa101af4c66d11 gamadv-xtd3-6.27.20-linux-arm64-glibc2.27.tar.xz
27aa8c1e8d62d2e3114adb8c4fa6868520bdb0c292d7988491f1c6eb0405530b gamadv-xtd3-6.27.20-linux-arm64-glibc2.31.tar.xz
ab95511b8e722f3b3fb263caadb94e3405281f0c1089957cb7297efd70781335 gamadv-xtd3-6.27.20-linux-x86_64-glibc2.19.tar.xz
9ee5dfcaca4e409a06f375c42d3de973814e14addca8020549b7b2e54a09453a gamadv-xtd3-6.27.20-linux-x86_64-glibc2.23.tar.xz
4a9301644a4c4c6e4fbd8e6529194de255b7e38ce398acb2721979b01d758e3c gamadv-xtd3-6.27.20-linux-x86_64-glibc2.27.tar.xz
b2e70727b5ea4e9dd78fcfa4ffd54e13ab01c6c73ef48e620fcc64ba4b426cce gamadv-xtd3-6.27.20-linux-x86_64-glibc2.31.tar.xz
07a5c92624990698bf4e91fb1ab94751662eb0eac73a29e43c50badc935d6bab gamadv-xtd3-6.27.20-linux-x86_64-glibc2.35.tar.xz
05bd1afefc6e1cdfda30ebcbd2bae1093b8fd4da32430052e3c05d8aa72d8720 gamadv-xtd3-6.27.20-linux-x86_64-legacy.tar.xz
e8911cd15760596aad7602019d16e5e31567622c041bf8330c82def3ca4d339f gamadv-xtd3-6.27.20-macos-universal2.tar.xz
c46e502489dc0cf01a3340abedd9641c5c293c59663baaefdfea36952f0de884 gamadv-xtd3-6.27.20-macos-x86_64.tar
b70b46ce3b42d3525199fd9d7b019b140d64690dd47e384426a58e87391c91cc gamadv-xtd3-6.27.20-windows-x86.msi
3d6eb493937c0a5a070bf71bb653ab8c164f23dcd98e94e3e2566614fa88c86d gamadv-xtd3-6.27.20-windows-x86.zip
368ad52ab5452b9ad7422170bf7d1f647740cafd03372b7271507f7002350d0f gamadv-xtd3-6.27.20-windows-x86_64.msi
53f8fa9d04cefc016cb63ec03032fca83aaad47033e5db0df24c76c768bae979 gamadv-xtd3-6.27.20-windows-x86_64.zip