Whenever I am running any GAM CSV command I end up with the CSV header printed for every single output.
For example if I would like to print the number of contacts in a specific contact group for my users I run:
gam print group-members group my_group_name | gam csv - gam user ~email print contacts selectcontactgroup my_contact_group countsonly
the output will be something along the lines of:
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
User,Contacts
As you can see the output includes the CSV Header "User,Contacts" for every single user
My desired output would be:
Is there a setting in GAM I can change? I have checked the wiki but have not found anything regarding this.\
Thank you in advance for any tips suggestions
By the way the gam version I am using is the following:
Python 3.8.0 64-bit final
google-api-python-client 1.7.8
httplib2 0.13.0
oauth2client 4.1.3
Linux Ubuntu 16.04 Xenial x86_64
Path: /home/egene/bin/gamadv-xtd3