# Recipe Organize Drive Folder > Create a Google Drive folder structure and move files into the right locations. Source: https://skillsagentes.com/skills/googleworkspace/cli/recipe-organize-drive-folder Repository: https://github.com/googleworkspace/cli Author: googleworkspace License: Apache-2.0 Updated: hace 4 meses Context cost: 20 tok installed, 269 tok once triggered, 269 tok with every bundled file Bundle: 1 file, 1 KB Permissions requested: none declared ## Install ```bash npx -y skills add googleworkspace/cli --skill recipe-organize-drive-folder --agent claude-code ``` ## What it does - Crea una carpeta de proyecto en Google Drive junto con subcarpetas usando `gws drive files create` - Mueve archivos existentes a las carpetas correctas con `gws drive files update` ajustando `addParents`/`removeParents` - Verifica la estructura final listando el contenido con `gws drive files list --format table` ## Use it when - Cuando se necesita crear una estructura de carpetas en Google Drive y mover archivos a las ubicaciones correctas ## What triggers it - "Crea una carpeta 'Q2 Project' en Drive con subcarpetas y mueve estos archivos ahí" - "Organiza mis archivos de Drive en carpetas por proyecto" ## Before you install - Requiere el binario `gws` y tener cargada la skill `gws-drive`. ## Files - SKILL.md — 1 KB ## SKILL.md Reproduced verbatim from googleworkspace/cli under Apache-2.0. This section is the upstream document and is in English. # Organize Files into Google Drive Folders > **PREREQUISITE:** Load the following skills to execute this recipe: `gws-drive` Create a Google Drive folder structure and move files into the right locations. ## Steps 1. Create a project folder: `gws drive files create --json '{"name": "Q2 Project", "mimeType": "application/vnd.google-apps.folder"}'` 2. Create sub-folders: `gws drive files create --json '{"name": "Documents", "mimeType": "application/vnd.google-apps.folder", "parents": ["PARENT_FOLDER_ID"]}'` 3. Move existing files into folder: `gws drive files update --params '{"fileId": "FILE_ID", "addParents": "FOLDER_ID", "removeParents": "OLD_PARENT_ID"}'` 4. Verify structure: `gws drive files list --params '{"q": "FOLDER_ID in parents"}' --format table` --- Skills Agentes — https://skillsagentes.com/skills/googleworkspace/cli/recipe-organize-drive-folder