ERROR: [Errno 2] No such file or directory: 'devices.csv'

86 views
Skip to first unread message

Luke Macpherson

unread,
Nov 22, 2022, 6:38:19 AM11/22/22
to GAM for Google Workspace
Currently Trying to runa. bulk command, confirmed Gam is set up correctly, however it can't find the CSV file, currently stored in the GAM folder, should it be stored elsewhere?

Jay Lee

unread,
Nov 22, 2022, 6:39:27 AM11/22/22
to google-ap...@googlegroups.com
Try specifying the full path to the file.

Jay

On Tue, Nov 22, 2022, 6:38 AM Luke Macpherson <lu...@cobry.co.uk> wrote:
Currently Trying to runa. bulk command, confirmed Gam is set up correctly, however it can't find the CSV file, currently stored in the GAM folder, should it be stored elsewhere?

--
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/d33b2d2e-7fbf-493f-be67-dd249e27fbe0n%40googlegroups.com.

Luke Macpherson

unread,
Nov 22, 2022, 6:49:08 AM11/22/22
to google-ap...@googlegroups.com
Hi Jay that seems to have worked thanks! Getting an invalid argument error but I believe I'm entering the command incorrectly, essentially trying to bulk delete devices from the admin console using this command:

gam csv /Users/home/Desktop/gam/devices.csv gam delete device id devices/~ids

Any idea on what's incorrect here?

Thanks,
Luke



--

Luke
Company logo
Luke Macpherson              
Senior Customer Engineer
Linkedin Twitter    
 
  
 
Cobry CompassNeed to improve data in your business?
Download our free data handbook to help you embrace change & grow faster.

Jay Lee

unread,
Nov 22, 2022, 6:52:11 AM11/22/22
to google-ap...@googlegroups.com
Try:

gam csv /Users/home/Desktop/gam/devices.csv gam delete device id devices/~~ids~~

~ids only works if it's an argument entirely on its own. If you want to replace the actual csv id number and prefix it with devices/ you need ~~ids~~

Jay

Reply all
Reply to author
Forward
0 new messages