Scroll to bottom of page for installation/downloads
Latest updates
6.27.21
Eliminated superfluous column header labels
in gam print cigroups
.
Added command to forward messages; this is experimental, test.
gam <UserTypeEntity> forward message|messages recipient|to <RecipientEntity>
(((query <QueryGmail>) (matchlabel <LabelName>) [or|and])+
[quick|notquick] [doit] [max_to_forward <Number>])|(ids <MessageIDEntity>)
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
054a131908521b1540bd843b8d17ca1449a86a4c072ac493b5f0eb3065dde89b gamadv-xtd3-6.27.21-linux-arm64-glibc2.23.tar.xz
5a3c6ff216780adf23e58dc1f903c35c59ac9b474848dfc37a5e7b083700a903 gamadv-xtd3-6.27.21-linux-arm64-glibc2.27.tar.xz
863bed2c4084a34700207b8274fdb7201029e26dd063f39a6fa394540eb36319 gamadv-xtd3-6.27.21-linux-arm64-glibc2.31.tar.xz
ed50293592d366c403c336aea30151b69e9f7f5ef76bc9c743285847d00ed6db gamadv-xtd3-6.27.21-linux-x86_64-glibc2.19.tar.xz
bf5c056f232514729cb5d5cef6535db06bf636a08da8c788f43b211732fc5fbd gamadv-xtd3-6.27.21-linux-x86_64-glibc2.23.tar.xz
bfbf0aeb27e08002d9a9f87e1ee0e94a9345b9f97af7a687115002551a45ef9d gamadv-xtd3-6.27.21-linux-x86_64-glibc2.27.tar.xz
0776cb7fefdd912643a7339bb530c38a9c17ea42eb8f02ff916b084a51bfb92d gamadv-xtd3-6.27.21-linux-x86_64-glibc2.31.tar.xz
130c7877bda81357e30501f23b780b800b17db77b3afceabef9412e50932fe8b gamadv-xtd3-6.27.21-linux-x86_64-glibc2.35.tar.xz
4ab9b40850941b51dbcaa66a0c63e497cb7588799e6487822777001bea8eea40 gamadv-xtd3-6.27.21-linux-x86_64-legacy.tar.xz
c60c2e0a7d044ac4e22a70e0e32bbe315f3617bc13ba10744d093f162753d589 gamadv-xtd3-6.27.21-macos-universal2.tar.xz
d4e68704adb8f87a559930919bb01ea72b594c7ea006fe85238404b2ccfea9f3 gamadv-xtd3-6.27.21-macos-x86_64.tar
d9c7673e6e745cb9fcec425d02c39ce0c540f7d6d32c5fe730a978f308652de3 gamadv-xtd3-6.27.21-windows-x86.msi
946acac58b5ae37dff2bd756ca16c09196920131c30b27705f9800f383866b21 gamadv-xtd3-6.27.21-windows-x86.zip
49cf72cafa77495c185ec511cfea4e6b8020243b36dd597d55c8821c4c3e8887 gamadv-xtd3-6.27.21-windows-x86_64.msi
c6188fcfda4e5e4800d789503391128c50d608c6dbfcd72cd72fccec559fe0d7 gamadv-xtd3-6.27.21-windows-x86_64.zip