--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/de1c4a8f-7c63-441e-9821-908f944e5197n%40googlegroups.com.
set GAM_CSV_ROW_FILTER=accounts.is_suspended:boolean:true,accounts.disabled_time:date^<-180d
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/70962d69-b353-4cc0-a025-2163c77bee02n%40googlegroups.com.
Your example csv command should work fine, as long as the header of the email addresses is email.Since you did create testusers, you could've just added a few more files and then run your csv command to verify that it worked.
--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/mklEZRLIMvs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/c66af8db-7a47-4cc4-90a7-d18acb0bbbd8n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAGPzzFuXwron5vEnyrk7ex7Jnc-_cDBiPTg7U8k3oigP8A4NEQ%40mail.gmail.com.
gam config csv_output_row_filter "lastLoginTime:date<-365d" print users lastlogintime suspended query "orgUnitPath='/Terminated Users'" custom all > ~/downloads/xxx.csv
gam csv ~/downloads/xxx.csv gam delete user "~primaryEmail"
Eric
--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/c9235ed2-0ecf-4f48-8228-fa650f3abb09n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/52050d18-c98f-4592-a9af-128e30bbe55cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e1d28d69-706e-427b-88f8-2d98d872cb31n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/61a5b578-85cf-45ed-b4d0-7dfbbdae3fb7n%40googlegroups.com.