
Recipe Transfer File Ownership
This handles the admin task of moving Google Drive file ownership from one user to another, which comes up when employees leave or change roles. It's a two-step process: first you list all files owned by the original user, then you transfer them one by one to the new owner using the Drive permissions API. The caution here is real: once you transfer ownership, you can't reverse it unless the new owner cooperates, so double-check your file IDs before running the second command. You'll need the gws-drive skill and the gws binary installed. It's straightforward but unforgiving, so treat it like any other irreversible admin operation.
- skills.sh installs
- 582
- GitHub stars
- 32.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add googleworkspace/cli --skill recipe-transfer-file-ownership --agent claude-codeInstalls into .claude/skills of the current project.
Files
This handles the admin task of moving Google Drive file ownership from one user to another, which comes up when employees leave or change roles. It's a two-step process: first you list all files owned by the original user, then you transfer them one by one to the new owner using the Drive permissions API. The caution here is real: once you transfer ownership, you can't reverse it unless the new owner cooperates, so double-check your file IDs before running the second command. You'll need the gws-drive skill and the gws binary installed. It's straightforward but unforgiving, so treat it like any other irreversible admin operation.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/googleworkspace/cli
- Categories
- Rust, CLI & Terminal
More from googleworkspace/cli
All 113- Gws Alertcenter570
- Gws Cloudidentity568
- Gws Vault563
- Gws Licensing552
- Gws Reseller541
- Gws Gmail84.3K
- Gws Drive76.5K
- Gws Gmail Send76.1K
- Gws Shared68K
- Gws Calendar62.9K
- Gws Sheets60.7K
- Gws Docs60.2K
- Gws Sheets Read52K
- Gws Docs Write51.5K
- Gws Calendar Agenda50.9K
- Gws Drive Upload50.6K
- Gws Calendar Insert49.5K
- Gws Gmail Triage48.2K
- Gws Sheets Append48K
- Gws Tasks46.3K
- Gws Slides42.9K
- Gws Forms42.4K
- Gws Meet42.2K
- Gws Gmail Read42.1K