Move files or directories
zspace_moveMove files or directories on your NAS into an existing destination folder to reorganize content. Accepts a single path or list, removing sources from their original location.
Instructions
Move one or more files/directories on the NAS into a destination folder.
Use to reorganize files, e.g. sort media into per-genre folders. Accepts a single path or a list; the destination must already exist (create it with zspace_mkdir). Returns {status: "moved", paths, to}. Mutates NAS state; sources are removed from their original location.
Choose move vs copy by whether the originals should survive: copy keeps them, move does not. To change only the name within the same directory, use zspace_rename instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination directory (absolute path) | |
| paths | Yes | One absolute path or a list of absolute paths to move |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||