Trouble with CSV Commands on Mac

145 views
Skip to first unread message

Michael Ziminski

unread,
Aug 1, 2023, 5:19:18 PM8/1/23
to GAM for Google Workspace
Hi, 

I'm having a weird error. I use GAM every year when I create new staff/faculty at my school. I create CSV files and then run the necessary gam commands. 

I'm trying 
gam csv /Users/mziminski/Documents/filename.csv gam create user ~email password ~mds_pwd firstname ~first_name lastname ~last_name changepassword ~change_pwd org ~org

but terminal gives me 
zsh: no such user or named directory: email

What is going on here?

Thanks!
Michael 

Tony Nelson

unread,
Aug 1, 2023, 5:26:44 PM8/1/23
to google-ap...@googlegroups.com
try adding an apostrophe in front and behind all of your column names i.e " '~email' " also make sure it's spelled EXACTLY how it's spelled in the csv, gam is case sensitive when it comes to column headers.

Thank you

Anthony "Tony" Nelson
Director of Information Security, Systems, and Infrastructure
The Howard School
1192 Foster St. NW
Atlanta, Georgia 30318




--
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/4b6071b8-5fbe-43a8-b52a-a753b1857eebn%40googlegroups.com.

Michael Ziminski

unread,
Aug 2, 2023, 9:26:16 AM8/2/23
to google-ap...@googlegroups.com
Tony, 

This worked! Thank you so much. I guess there was a change to the syntax since the last time I used it - I only use it about 3x a year when we need do things in bulk. 

All the best,
Michael 




MICHAEL R. ZIMINSKI

Director of Technology


212-376-6800 Ext 505

212-376-6385 (direct)

mzim...@manhattanday.org


310 West 75th Street

New York, NY 10023




Tony Nelson

unread,
Aug 2, 2023, 10:38:55 AM8/2/23
to google-ap...@googlegroups.com
Glad to hear it. :)

Thank you

Anthony "Tony" Nelson
Director of Information Security, Systems, and Infrastructure
The Howard School
1192 Foster St. NW
Atlanta, Georgia 30318



Reply all
Reply to author
Forward
0 new messages