Actions26
- File Actions
- Folder Actions
Folder → Delete
AI-generatedSummary
Removes an empty folder from the configured SMB share using smbclient. For each input item, it runs the folder removal and returns the path with a removed: true status; the removal fails if the folder is not empty or the SMB command encounters an error.
Inputs
- Smbclient Path — Path to the
smbclientexecutable; defaults tosmbclient. - Directory (required) — Remote folder path to remove. The UI declares a default of
/, but this field is hidden for the Delete operation, so the handler receives its fallback empty string unless a value is otherwise supplied. - SMB2 credentials (required) — Credentials for the SMB server and share.
Output shape
One JSON item per input item, containing directory and removed: true.
Uses smbclient's
rmdircommand, which removes an empty folder. Command errors are raised as node operation errors; successful output does not include command output.