MarketplaceSKILL.mdLeída en a3768d0
recipe-share-folder-with-team
Share a Google Drive folder and all its contents with a list of collaborators.
Resumen
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
Archivos 1 archivo
Instálala a mano
Deska ejecuta esto por ti, para cada agente que elijas. Para ejecutarlo tú en una terminal:
npx skills add googleworkspace/cli --skill recipe-share-folder-with-teamMás de googleworkspace
- gws-gmailgoogleworkspaceOficialGmail: Send, read, and manage email.78.8 k instalaciones en skills.sh0
- gws-gmail-sendgoogleworkspaceOficialGmail: Send an email.72.7 k instalaciones en skills.sh0
- gws-drivegoogleworkspaceOficialGoogle Drive: Manage files, folders, and shared drives.71.8 k instalaciones en skills.sh0
- gws-sharedgoogleworkspaceOficialgws CLI: Shared patterns for authentication, global flags, and output formatting.63.4 k instalaciones en skills.sh0
- gws-calendargoogleworkspaceOficialGoogle Calendar: Manage calendars and events.58.6 k instalaciones en skills.sh0