@googleworkspace/recipe-share-folder-with-team

Share a Google Drive folder and all its contents with a list of collaborators.

View in AI SkillSafe app
87479 downloads
0 stars
0 demos
SKILL.md
namerecipe-share-folder-with-team
descriptionShare a Google Drive folder and all its contents with a list of collaborators.
metadatagws

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

  1. Find the folder: gws drive files list --params '{"q": "name = '\''Project X'\'' and mimeType = '\''application/vnd.google-apps.folder'\''"}'
  2. Share as editor: gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}'
  3. Share as viewer: gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}'
  4. Verify permissions: gws drive permissions list --params '{"fileId": "FOLDER_ID"}' --format table

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@googleworkspace/recipe-share-folder-with-team/verified)](https://skillsafe.ai/skill/@googleworkspace/recipe-share-folder-with-team/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@googleworkspace/recipe-share-folder-with-team/installs)](https://skillsafe.ai/skill/@googleworkspace/recipe-share-folder-with-team/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@googleworkspace/recipe-share-folder-with-team/scan)](https://skillsafe.ai/skill/@googleworkspace/recipe-share-folder-with-team/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@googleworkspace/recipe-share-folder-with-team/eval)](https://skillsafe.ai/skill/@googleworkspace/recipe-share-folder-with-team/)