mirror_drive_folder
Recursively download a Google Drive folder to a local directory while preserving folder structure. Use dry run to preview changes before writing files.
Instructions
Recursively download a Google Drive folder to a local directory. Maintains directory structure and links downloaded files for future sync.
Args: user_google_email: The user's Google email address. Required. local_parent_dir: The local directory to download into. Created if missing. folder_query: The Name or ID of the Drive folder. recursive: Whether to download subfolders. dry_run: If True (default), return planned mirror operation without writing local files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| local_parent_dir | Yes | ||
| folder_query | Yes | ||
| recursive | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |