Actions26
- File Actions
- Folder Actions
Folder → Remove Directory
AI-generatedSummary
Removes the specified directory from the SMB share using the smbclient command-line tool. The directory must be empty for the SMB rmdir command to succeed.
Inputs
- Smbclient Path — Path to the
smbclientexecutable; defaults tosmbclientfrom PATH. - Directory — SMB directory path to remove; defaults to
/. - SMB2 credentials (required) — Credentials for the SMB server and share, configured on the node.
Output shape
One item per input item, each with a JSON object containing directory and removed: true.
The node runs the remove command for each input item. If the command fails, the operation raises an error instead of returning a success item.