recipe-batch-rename-files
批量重命名Google Drive中符合特定模式的文件,实现文件管理自动化,提高工作效率。
npx skills add https://github.com/googleworkspace/cli --skill recipe-batch-rename-filesBefore / After 效果对比
1 组手动重命名Google Drive中大量文件耗时费力,容易出错,尤其当文件数量庞大时效率极低。
自动化批量重命名Google Drive文件,根据特定模式高效管理,大幅提升文件整理效率,节省宝贵时间。
recipe-batch-rename-files
Batch Rename Google Drive Files
PREREQUISITE: Load the following skills to execute this recipe: gws-drive
Rename multiple Google Drive files matching a pattern to follow a consistent naming convention.
Steps
-
Find files to rename:
gws drive files list --params '{"q": "name contains '\''Report'\''"}' --format table -
Rename a file:
gws drive files update --params '{"fileId": "FILE_ID"}' --json '{"name": "2025-Q1 Report - Final"}' -
Verify the rename:
gws drive files get --params '{"fileId": "FILE_ID", "fields": "name"}'
Weekly Installs634Repositorygoogleworkspace/cliGitHub Stars21.4KFirst Seen14 days agoSecurity AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex618gemini-cli616github-copilot616opencode616cursor615kimi-cli614
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分