rename
Rename or move files and directories using atomic operations. Preview changes with dry-run mode before applying them.
Instructions
Renames or moves a file/directory. Atomic operation via os.Rename. Use dry_run=true to preview.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_path | Yes | Absolute path to the file or directory to rename | |
| new_path | Yes | Absolute path for the new name/location | |
| dry_run | Yes | Preview rename without actually moving the file (default false) |