recipe-transfer-file-ownership
Transfers Google Drive file ownership from one user to another, simplifying file management and collaboration.
npx skills add https://github.com/googleworkspace/cli --skill recipe-transfer-file-ownershipBefore / After Comparison
1 组Manually transferring Google Drive file ownership is a cumbersome process, especially during team member changes, leading to low efficiency and a high risk of errors.
Automating Google Drive file ownership transfer simplifies file management and collaboration processes, significantly improving team work efficiency.
recipe-transfer-file-ownership
Transfer File Ownership
PREREQUISITE: Load the following skills to execute this recipe: gws-drive
Transfer ownership of Google Drive files from one user to another.
[!CAUTION] Transferring ownership is irreversible without the new owner's cooperation.
Steps
-
List files owned by the user:
gws drive files list --params '{"q": "'\''user@company.com'\'' in owners"}' -
Transfer ownership:
gws drive permissions create --params '{"fileId": "FILE_ID", "transferOwnership": true}' --json '{"role": "owner", "type": "user", "emailAddress": "newowner@company.com"}'
Weekly Installs582Repositorygoogleworkspace/cliGitHub Stars21.4KFirst Seen14 days agoSecurity AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex565opencode565gemini-cli563cursor563github-copilot563kimi-cli562
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill