recipe-share-folder-with-team
Share a Google Drive folder and all its contents with a list of team members, facilitating team collaboration and unified management and access to project files.
npx skills add googleworkspace/cli --skill recipe-share-folder-with-teamBefore / After Comparison
1 组When sharing Google Drive folders and their contents with a team, manually setting permissions and adding members is time-consuming and laborious. This leads to low collaboration efficiency and inconvenient information transfer.
Automatically share Google Drive folders and all their contents with a specified list of collaborators. This greatly simplifies the sharing process, ensures team members quickly access necessary files, and significantly improves collaboration efficiency.
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": "colleague@company.com"}' - Share as viewer:
gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "stakeholder@company.com"}' - Verify permissions:
gws drive permissions list --params '{"fileId": "FOLDER_ID"}' --format table
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill