Renaming Shared drive files

807 views
Skip to first unread message

Wesley Strong

unread,
Aug 2, 2021, 10:09:36 AM8/2/21
to GAM for Google Workspace
Hey everyone. I've been working on a naming convention for all of our shared drive files on our domain. I've hit a small wall that I can't seem to clear by the documentation. I've pulled the info of all the files in our shared drives in a hope that I could easily rename them using GAM. Ive tried these commands (i edited the file ID for safety):

gam update drivefileacl 1EwjSxxxxxxxxxxxxxxx newfilename "[2019-02-20] 10 - 12 1 to 1 Contact Tracking"

It spits back an error on the newfilename:

Command: gam update drivefileacl 1EwjSxxxxxxxxxxxxxxxxxxxxxx newfilename >>>"[2019-02-20] 10 - 12 1 to 1 Contact Tracking"<<<

ERROR: Invalid argument
Help: Syntax in file C:\GAMADV-XTD3\GamCommands.txt

Curious what I may be missing. I know I am close.

Ross Scroggs

unread,
Aug 2, 2021, 10:24:33 AM8/2/21
to google-ap...@googlegroups.com
Wesley,

gam update drivefile 1EwjSxxxxxxxxxxxxxxx name "[2019-02-20] 10 - 12 1 to 1 Contact Tracking"

Ross

--
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/ba683292-6253-4180-9049-6861f0884322n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages