Recipe share folder with team
Skill googleworkspace/cli/skills/recipe-share-folder-with-team
Share a Google Drive folder and all its contents with a list of collaborators.From its SKILL.md
npx -y skills add googleworkspace/cli --skill recipe-share-folder-with-teamAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.1 KB, 221 tokens by cl100k_base, as published. Nobody here has run it
Share a Google Drive Folder with a Team
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive
Share a Google Drive folder and all its contents with a list of collaborators.
Steps
- Find the folder:
gws drive files list --params '{"q": "name = '\''Project X'\'' and mimeType = '\''application/vnd.google-apps.folder'\''"}' - Share as editor:
gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}' - Share as viewer:
gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}' - Verify permissions:
gws drive permissions list --params '{"fileId": "FOLDER_ID"}' --format table
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.