# Update GAM7 to latest version Automatic update to the latest version on Linux/Mac OS/Google Cloud Shell/Raspberry Pi/ChromeOS: - Do not create project or authorizations, default path `$HOME/bin` - `bash <(curl -s -S -L https://git.io/gam-install) -l` - Do not create project or authorizations, specify a path - `bash <(curl -s -S -L https://git.io/gam-install) -l -d ` By default, a folder, `gam7`, is created in the default or specified path and the files are downloaded into that folder. Add the `-s` option to the end of the above commands to suppress creating the `gam7` folder; the files are downloaded directly into the default or specified path. See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation ### 7.32.03 Added option `template` as an additional formating option for `gam show signature` that displays just the HTML data; this simplifies capturing the data for use as input to GAM. ``` $ gam redirect stdout ./SigTemplate.html user user@domain.com show signature template $ more SigTemplate.html

{RT}Email: {Email}{/RT}

{RT}Phone: {Phone}{/RT}

{RT}Mobile: {Mobile}{/RT}


\n
``` ### 7.32.02 Added variable `oauth2_txt_lock_mode` to `gam.cfg`, the default is 644 and valid values are: 644, 664, 666. This value is used to set the file permissions on the `oauth2.txt.lock` file. In very special cases where daemon processes, e.g. Apache/httpd, are running GAM, the value 666 may have to be used. ### 7.32.01 Added option `(addcsvdata )*` to `gam issuecommand command csv` and `gam getcommand commandid csv` that adds additional columns of data to the CSV file output. * See: https://github.com/GAM-team/GAM/wiki/ChromeOS-Devices#bulk-action-example ### 7.32.00 Added option `verifyallowexternal` to `gam print cigroup-members|group-members` that causes GAM to only display external members in groups with `allowExternalMembers=False'. This option can be used to help verify that internal-only groups don't have external members. Updated option `internaldomains` for the following commands: ``` gam info|print groups gam print|show group-members gam info|print cigroups gam print|show cigroup-members gam print|show filesharecounts ``` Which domains are considered internal domains: * `internaldomains all` - All of your workspace domains; this is the default * `internaldomains primary` - Your workspace primary domain * `internaldomains ` - A list of domain names Added option `csv` to `gam issuecommand command ` and `gam getcommand commandid ` so that command details are displayed in CSV format. This can be used to log commands issued to devices and then monitor the results. Added option `filemimetype category ` to `gam copy drivefile` to support copying of files based on their MimeType category. Added option `attendeeslist` to `gam calendars print events` and `gam print events` that causes GAM to display the attendee email addresses in a single column `attendeesList`; no attendee details are displayed. The email addresses are separated by `csv_output_field_delimiter` from `gam.cfg`. Fixed bug in `gam sendemail ... replyto ` that caused a message delivery error if `` did not include a domain name. Added support for users's chat sections. * See: https://github.com/GAM-team/GAM/wiki/Users-Chat#manage-chat-users-sections * This is in Deveoper Preview; you must have a `developer_preview_api_key` in `gam.cfg` to use these commands. ### 7.31.06 Added option `batchsize ` to `gam calendar delete|purge events` and `gam delete|purge events ` that causes GAM to delete events with batch API calls rather than with individual API calls. ### 7.31.05 Added option `variables ` to `gam select section verify` and `gam config verify` that causes GAM to only display variables with names selected by ``. ``` gam select School verify variables "^(customer|domain)" Section: School customer_id = C03abc123 domain = school.edu gam config verify variables 'dir' Section: DEFAULT cache_dir = ~/GamConfig/gamcache ; /Users/gamteam/GamConfig/gamcache config_dir = ~/GamConfig ; /Users/gamteam/GamConfig drive_dir = ~/GamWork ; /Users/gamteam/GamWork gmail_cse_incert_dir = ~/GmailCSE/Certs ; /Users/gamteam/GmailCSE/Certs gmail_cse_inkey_dir = ~/GmailCSE/Keys ; /Users/gamteam/GmailCSE/Keys input_dir = . ``` ### 7.31.04 Fixed bug in `gam report admin|chrome` that caused to events to not be displayed. Updated `gam print|show messages|threads ... query ` to display the query. ### 7.31.03 Due to the following Calendar API update, the `gam transfer calendars` command has been removed. * See: https://developers.google.com/workspace/calendar/release-notes#October_27_2025 Data ownership can be transferred in the Google Calendar UI. ### 7.31.02 Added the following options to `gam copy drivefile` to limit copying to those files owned by selected users. * `copysubfilesownedby users ` - Only files owned by users in `` are copied. * `copysubfilesownedby notusers ` - Only files not owned by users in `` are copied. * `copysubfilesownedby regex ` - Only files owned by users whose email addresses match `` are copied. * `copysubfilesownedby notregex ` - Only files owned by users whose email addresses do not match `` are copied. ### 7.31.01 Code cleanup for `addcsvdata `. ### 7.31.00 Fixed bug in `gam report chrome (user )|(select )` where no activities were returned. `report chrome` does not use the parameter `userKey=` as do other applications but requires parameter `filter DEVICE_USER==`. Updated `gam report admin (user )|(select )` to use parameter `filter USER_EMAIL==` to display activiities affecting the user ``. Use option `userisactor` to use the parameter `userKey=` that displays activities where user `` executed the command that generated the activity. Fixed bug in `gam print cros|filelist|users ... (addcsvdata )+ formatjson` where the `addcsvdata` columns were not displayed but the additional field values were included in the JSON data. Now, the `addcsvdata` columns are displayed but the additional field values are only included in the JSON data when option `includdecsvdatainjson` is specified. Added option `addcsvdata ` to `gam print cigroups|groups` that adds additional columns of data to the CSV file output. Added option `addcsvdata ` to `gam print cigroupmembere|group-members` that adds additional columns of data to the CSV file output. ### 7.30.05 Added option `gmaileventtypes ` to `gam report gmail` that can be used to limit the event types displayed. ``` ::= |(/) ::= "(,)*" gam report gmail user user@domain.com gmaileventtypes 1,10/11 ``` * See: https://developers.google.com/workspace/admin/reports/v1/appendix/activity/gmail Updated sorting of column headers in `gam report `. ### 7.30.04 Updated `gam report gmail` to avoid the following error when incomplete start/end time information is provided. ``` ERROR: Invalid request: Start time and end time should both be provided, and the scan duration should not be greater than 30 days. ``` * No time information provided - GAM sets `range -30d today` * Only `start