rename
Rename a file or folder in place on your Synology NAS by supplying its path and a new name; DSM rejects the change if the name is already taken, so nothing is overwritten.
Instructions
Rename a file or folder in place. If the new name is already taken in that folder, DSM refuses and nothing is replaced. To move something to another folder, use move_files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The file or folder to rename (`/video/TV Shows/Severence`). | |
| new_name | Yes | The new name only, not a path (`Severance`). |