GAM [Err No 2] No Such file or directory

1,841 views
Skip to first unread message

Cathlyn Angeles

unread,
May 28, 2018, 7:29:30 AM5/28/18
to GAM for G Suite
Hi. I need help as I could not figure it our why I am getting result when I try the gam cmd line:

gam csv updateou.csv gam update org TestDummy/TestGr10 add user "~Email Address"

result: ERROR: [Errno 2] No such file or directory: u'updateou.csv'

I am trying to test bulk update of moving user to other OU. I have make sure that my csv file is in my GAM folder but still getting the same error. 

Ross Scroggs

unread,
May 28, 2018, 10:14:10 AM5/28/18
to google-ap...@googlegroups.com
Cathlyn,

Gam looks for files in the directory you are in when you execute the command, not the folder where gam.exe is located.
If updateou.csv is in C:\GAM, do:
cd C:\GAM
gam csv updateou.csv gam update org TestDummy/TestGr10 add user "~Email Address"

If that stiil fails what does this do?
more updateou.csv

Ross
--
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 post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/b793027c-84b3-4159-a41d-8a51f50e3acc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

geewonie

unread,
May 30, 2018, 9:29:11 PM5/30/18
to GAM for G Suite
Already working fine now, Ross. Thank you

I would like to ask if I can bulk update moving of accounts to other OU in just one csv file? What I mean is google accounts that has different OUs.

Or I can only operate bulk update per OU? 

Regards,
Cath


On Monday, May 28, 2018 at 10:14:10 PM UTC+8, Ross Scroggs wrote:
Cathlyn,

Gam looks for files in the directory you are in when you execute the command, not the folder where gam.exe is located.
If updateou.csv is in C:\GAM, do:
cd C:\GAM
gam csv updateou.csv gam update org TestDummy/TestGr10 add user "~Email Address"

If that stiil fails what does this do?
more updateou.csv

Ross
On May 28, 2018, at 12:17 AM, Cathlyn Angeles <cathga...@gmail.com> wrote:

Hi. I need help as I could not figure it our why I am getting result when I try the gam cmd line:

gam csv updateou.csv gam update org TestDummy/TestGr10 add user "~Email Address"

result: ERROR: [Errno 2] No such file or directory: u'updateou.csv'

I am trying to test bulk update of moving user to other OU. I have make sure that my csv file is in my GAM folder but still getting the same error. 

--
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-manager+unsub...@googlegroups.com.

+KimNilsson

unread,
May 31, 2018, 5:33:04 AM5/31/18
to GAM for G Suite
Reply all
Reply to author
Forward
0 new messages