Actions26
- File Actions
- Folder Actions
Folder → Rename or Move
AI-generatedSummary
Renames or moves an SMB file or folder from the configured remote path to a new path. Optionally deletes an existing destination file first; the node processes each input item and returns the outcome for each.
Inputs
- Smbclient Path — Path to the smbclient executable; defaults to
smbclienton PATH. - Remote Path (required) — Current SMB path of the file or folder to rename or move.
- New Path (required) — Destination path or new name for the file or folder.
- Overwrite If Exists — Defaults to false. When true, attempts to delete the destination before renaming. This only supports files; existing directories cannot be overwritten.
Output shape
One item per input item, each with JSON fields oldPath, newPath, renamed: true, and overwritten.
overwrittenis true if a destination file was deleted first; it remains false if no destination file existed. SMB command errors fail the operation.