csv in cloud shell user a batch txt file

93 views
Skip to first unread message

Jeroen Seys

unread,
Apr 17, 2021, 3:21:38 AM4/17/21
to GAM for Google Workspace
hello everyone
i am trying to put different commands into a batch file (.txt). but first i want to retrieve a csv with data and then apply different commands to it. 


i am using this command: 
(in the google cloud shell the command works perfectly)
*****
gam print group-members group <gr...@domain.com> recursive noduplicates >file.csv
*****

the error is that the command doesn't exist with a reference to >>>>file.csv<<

how can i save a csv in the google cloud shell via a command in  batch.txt file.

hopefully someone can help. 
thanks in advance! 


Maj Marshall Giguere

unread,
Apr 17, 2021, 10:07:29 AM4/17/21
to google-ap...@googlegroups.com
> gam redirect csv ./file.csv print group-members group <group> recursive noduplicates


Maj Marshall E. Giguere, CAP
NH Wing Director of IT
U.S. Air Force Auxiliary
 


--
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/cc75e169-92b8-4c33-bce4-01d41a12fac6n%40googlegroups.com.

Jeroen Seys

unread,
Apr 17, 2021, 10:24:37 AM4/17/21
to GAM for Google Workspace
it works! 
THANKS!!! you are a hero! 

Op zaterdag 17 april 2021 om 16:07:29 UTC+2 schreef Marsh:
Reply all
Reply to author
Forward
0 new messages