googleworkspace avatar

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-code

Installs 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 GitHub

Sponsors

Details

Repository
github.com/googleworkspace/cli
Categories
Rust, CLI & Terminal

More from googleworkspace/cli

All 113

Recommended

More Rust
1mohitmishra786 avatarwasm-emscriptenmohitmishra786/low-level-dev-skillsWebAssembly with Emscripten skill for C/C++ to WASM compilation. Use when compiling C/C++ to WebAssembly with emcc, configuring EXPORTED_FUNCTIONS, understandin559skills.sh installs
2longbridge avatarlongbridge-ownershiplongbridge/skillsShare structure and shareholder query — total shares, circulating shares, restricted shares, top-10 shareholders (circulating and total), major institutional ho494skills.sh installs
3dchuk avatarcalling-rust-from-tauri-frontenddchuk/claude-code-tauri-skillsGuides the user through calling Rust backend functions from the Tauri frontend using the invoke function, defining commands with the361skills.sh installs
4bobmatnyc avatarrust-desktop-applicationsbobmatnyc/claude-mpm-skillsBuild cross-platform desktop applications with Rust using Tauri framework and native GUI alternatives263skills.sh installs
5wispbit-ai avatarrust-expert-best-practices-code-reviewwispbit-ai/skillsRust best practices and code quality guidelines for writing idiomatic, safe, and performant Rust code. This skill should be used when writing, reviewing, or ref257skills.sh installs
6aradotso avatarmasterhttprelayvpn-rustaradotso/trending-skillsmasterhttprelayvpn rust256skills.sh installs