Actions26
- File Actions
- Folder Actions
File → Rename / Move File
AI-generatedSummary
Renames or moves a file or folder on the configured SMB share from Remote Path to New Path. Optionally deletes an existing destination file first when Overwrite If Exists is enabled.
Inputs
- Smbclient Path — Path to the smbclient executable; defaults to smbclient.
- Remote Path (required) — Current path of the file or folder on the SMB share.
- New Path (required) — Destination path or new name on the SMB share.
- Overwrite If Exists — Defaults to false. When enabled, attempts to delete the destination before renaming; this supports files, not existing directories.
Output shape
One JSON item per input item, with oldPath, newPath, renamed, and overwritten fields.
renamed is true after the rename succeeds. overwritten is true only when the destination file was successfully deleted first; a missing destination is ignored and leaves it false. SMB command failures are reported as node errors.