Scroll to bottom of page for installation/downloads
Latest updates
6.30.04
Improved output formatting for field sheets
in gam <UserTypeEntity> info sheet <DriveFileEntity>
.
6.30.03
Updated gam <UserTypeEntity> create|update drivefileacl <DriveFileEntity>
commands to handle the following error.
ERROR: 403: fileOrganizerOnFoldersInSharedDriveOnly - FileOrganizer role is only allowed on folders.
Added option updatesheetprotectedranges to
gam create|update|delete drivefileacl commands that causes GAM to update Sheet Protected Ranges if
` is a Google Sheet.
6.30.02
Fixed error message in gam print cigroups
when an invalid field was specified.
6.30.01
Fixed bug in gam create cigroup <EmailAddress> name <String> <GroupAttribute>+
where the group name was set to <EmailAddress>
rather than <String>
.
6.30.00
Added option returnidonly
to gam <UserTypeEntity> show fileinfo <DriveFileEntity>
that causes GAM to return just the file ID of the files in <DriveFileEntity>
file as output.
$ gam user user@domain.com show fileinfo root returnidonly
0AHYenC8f12ALUk9xyz
$ gam user testsimple show fileinfo name "Test File" returnidonly
0B3YenC8f12ALflhUTmtNS3E2Vk9LSUpBVXRSUG5lQ29GWkRtWHM1VzU1blc4ZW1pb2FnNTA
Changed the display format of file paths for files on Shared Drives.
- Old format - SharedDrive(TS Shared Drive 6)/TS SD6 Folder/TS TD6 Doc
- New format -SharedDrives/TS Shared Drive 6/TS SD6 Folder/TS TD6 Doc
Added option returnpathonly
to gam <UserTypeEntity> show filepath <DriveFileEntity>
that causes GAM to return just the file path of the files in <DriveFileEntity>
file as output.
$ gam user user@domain.com show filepath name "Test File" returnpathonly
My Drive/Classroom/Test File
$ gam user user@domain.com show filepath 0AJ6mqwXP9wHxUk9xyz returnpathonly
TS Shared Drive 6
$ gam user testsimple show filepath 0AJ6mqwXP9wHxUk9xyz returnpathonly fullpath
SharedDrives/TS Shared Drive 6
$ gam user user@domain.com show filepath teamdriveid 0AJ6mqwXP9wHxUk9xyz teamdrivefilename "TS TD6 Doc" returnpathonly
SharedDrives/TS Shared Drive 6//TS SD6 Folder/TS TD6 Doc
Added command gam comment <String>*
that displays the comment data on stdout.
This can be used to validate csv_input_row_filters
and column value extraction.
$ more Comment.csv
col1,col2
aaa,111
bbb,222
ccc,333
$ gam config csv_input_row_drop_filter "col1:regex:bbb" csv Comment.csv gam comment "Col1:~~col1~~" "Col2:~~col2~~"
2022-12-16T12:41:50.045-08:00,0/2,Using 2 processes...
Col1:aaa Col2:111
Col1:ccc Col2:333
Updated gam <UserTypeEntity> create|delete license <SKUIDList>
to take a list of SKUs.
Updated gam create user <EmailAddress> ... license <SKUIDList>
to take a list of SKUs.
Updated gam <UserTypeEntity> sync license <SKUIDList>
to take a list of SKUs and
added option allskus|onesku
that is required when multiple SKUs are specified.
allskus
indicates that users in<UserTypeEntity>
will be updated to have all of the SKUs in<SKUIDList>
.- This is typically used when assigning different types of licenses, such as an Enterprise license and a Voice license.
onesku
indicates that users in<UserTypeEntity>
with none of the licenses in<SKUIDList>
will be updated to have the first available license SKU in<SKUIDList>
.- This is typically used with Google Education Plus or Google Education Standard licenses, which are split across multiple SKUs.
Added option basic
to gam print cigroups
that causes GAM to display the basic
Cloud Identity Group fields, i.e., those fields that do not require an additional API call per group.
Following Jay's lead, added option query <String>
to gam print cigroups
.
6.29.21
Fixed bugs in gam selectfilter
that caused traps or inappropriate error messages.
6.29.20
Fixed bug in gam <UserTypeEntity> archive messages <GroupItem>
that caused a trap.
6.29.19
Fixed bug introduced in 6.29.17 in todrive
that caused a trap.
6.29.18
Added the following variables to gam.cfg
to provide more flexibility when multiple row filters are specified.
csv_input_row_filter_mode allmatch|anymatch
allmatch
- all filters must match to include in input; this is the default and is the current behavioranymatch
- any filter must match to include in input
csv_input_row_drop_filter_mode allmatch|anymatch
allmatch
- all filters must match to drop from inputanymatch
- any filter must match to drop from input; this is the default and is the current behavior
csv_output_row_filter_mode allmatch|anymatch
allmatch
- all filters must match to include in output; this is the default and is the current behavioranymatch
- any filter must match to include in output
csv_output_row_drop_filter_mode allmatch|anymatch
allmatch
- all filters must match to drop from outputanymatch
- any filter must match to drop from output; this is the default and is the current behavior
6.29.17
Added option todrive tdcellnumberformat text|number
that causes GAM to set the Sheet Number format when uploading files with todrive
.
6.29.16
Fixed bug introduced in 6.29.15 that caused an error like this:
ERROR: Config File: gam.cfg, Section: DEFAULT, Item: todrive_locale, Value: "en_us", Expected: ,ar-eg,az-az,be-by,bg-bg,bn-in,ca-es,cs-cz,cy-gb,da-dk,de-ch,de-de,el-gr,en-au,en-ca,en-gb,en-ie,en-us,es-ar,es-bo,es-cl,es
6.29.15
Updated gam [<UserTypeEntity>] info|print|show drivelabels languagecode <DriveLabelLanguageCode>
to use the BCP-47 language code.
6.29.14
Added option stripcrsfromtitle
to gam <UserTypeEntity> print|show datastudioassets
that causes carriage returns,
linefeeds and nulls to be stripped from asset titles.
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
a63e3d10aacb8825a9f6bed2352f17324aac85307038dcbf81ac78a6fc9155a4 gamadv-xtd3-6.30.04-linux-arm64-glibc2.23.tar.xz
1453f2fd835b05218136c9aa345357ef16e85e484afd80c0f9a01081b6238911 gamadv-xtd3-6.30.04-linux-arm64-glibc2.27.tar.xz
12f4295ab5918b3b076d90f4e2df33cc537ced33c2460457815d51378d6028a5 gamadv-xtd3-6.30.04-linux-arm64-glibc2.31.tar.xz
322db8e9fa0b89857ba2f992e089acb04861222150d90063f16a945557d203a4 gamadv-xtd3-6.30.04-linux-x86_64-glibc2.19.tar.xz
c74598e052bbc079e057fed573b3a32fa1ed1c96a0eafa77d64fc0ee8029f82e gamadv-xtd3-6.30.04-linux-x86_64-glibc2.23.tar.xz
d976868ca8db022674a392e6a12a947764fc532f2f3781a5222c925c94571f32 gamadv-xtd3-6.30.04-linux-x86_64-glibc2.27.tar.xz
62ac5d005b5d1974e2d837c5805720662be210dcec2b4aac9269b24cf727d4e6 gamadv-xtd3-6.30.04-linux-x86_64-glibc2.31.tar.xz
20bbb1479a9a1ea18aa7d132f1a12596b45390fecae7ec1b1ff6dfa5fc76f135 gamadv-xtd3-6.30.04-linux-x86_64-glibc2.35.tar.xz
73e8819984de43a6322b729bbf428b0b064aa9adbecfb4aa8671b643a50aed67 gamadv-xtd3-6.30.04-linux-x86_64-legacy.tar.xz
e4aeaaa2f82e7917074ce586af0f15c338a45f4bdeb91fef02846472f9fbf4cb gamadv-xtd3-6.30.04-macos-arm64.tar.xz
1c7f5bf5124a3e81beb12485d3fada9b8ff10d81707bf546a8a8ca2951cf8310 gamadv-xtd3-6.30.04-macos-x86_64-legacy.tar
850e72c0f7c05d30510244634ebf52e3e2815c6a66e6f50dc68d9711566781ef gamadv-xtd3-6.30.04-macos-x86_64.tar.xz
bf97114c8cbe71fe573a41c4c7623db42ee3bfa690f4affcfe3f75ba05b2bda9 gamadv-xtd3-6.30.04-windows-x86.msi
6331727ab3604b92dc2bdfb69cc426ea37dd995927d0c6ea53f63ebe283003f8 gamadv-xtd3-6.30.04-windows-x86.zip
46b5275c95b4506b684211442b93e236f01eef723c59d7313ec632fd68ab9203 gamadv-xtd3-6.30.04-windows-x86_64.msi
57565d91f9b8a398ec160d2e0d3e6471a99d855f3accccfa680f38e84046361e gamadv-xtd3-6.30.04-windows-x86_64.zip