delimiter change

169 views
Skip to first unread message

Matt Colwell

unread,
Jun 23, 2021, 10:37:29 AM6/23/21
to GAM for Google Workspace
I am trying to print a list of google classrooms, using a delimiter other than a comma.

I've tried using the syntax gam print courses fields <FIELDLIST> teacher <TEACHERNAME> delimiter "|">file.txt

This isn't producing output with the | as a delimiter.  What am I doing wrong?

I'm using gamadv-xtd3

Thanks

Ross Scroggs

unread,
Jun 23, 2021, 10:43:50 AM6/23/21
to google-ap...@googlegroups.com
Matt,

In print courses, delimiter is used to separate multiple items that appear as a list in a single column;
you want to change the column delimiter.

gam redirect csv ./file.txt columndelimiter "|" print courses fields <FIELDLIST> teacher <TEACHERNAME>


Ross


--
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/49b6fcc3-2201-42c6-90ee-5b9ba7113ac7n%40googlegroups.com.


--

Matt Colwell

unread,
Jun 23, 2021, 10:55:46 AM6/23/21
to GAM for Google Workspace
Thanks, I'll give that syntax a try.

I just got the following working moments after my post:
gam config csv_output_column_delimiter "|" print courses fields  <FIELDLIST> teacher  <TEACHERNAME> 

Matt Colwell

unread,
Jun 23, 2021, 11:03:35 AM6/23/21
to GAM for Google Workspace
Thanks Ross,

Your suggest syntax works beautifully.

Ross Scroggs

unread,
Jun 23, 2021, 11:23:32 AM6/23/21
to google-ap...@googlegroups.com
Matt,

That's a good solution as well.

Ross



--
Reply all
Reply to author
Forward
0 new messages