adb_file_copy
Copy files or directories on Android devices with automatic space checks before copying and size verification after. Supports recursive directory copies and root access for protected paths.
Instructions
Copy a file or directory on the device. Pre-flight checks source size against destination available space. Post-verifies the copy by comparing file sizes. For recursive directory copies, use -r flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source file or directory path | |
| destination | Yes | Destination path | |
| recursive | No | Copy directories recursively (-r) | |
| root | No | Use root shell for protected paths | |
| device | No | Device serial |