Actions8
Remove Directory
AI-generatedSummary
Remove a directory from an SMB share using the smbclient CLI, specifying the directory path to delete.
Inputs
- Smbclient Path — Custom file system path to the smbclient binary if it is not in the system PATH; defaults to 'smbclient'.
- Directory (required) — The path of the directory on the SMB share to remove.
Output shape
a single JSON object per input item, confirming the removed directory and a removal flag
Returns { directory: string, removed: true } on successful removal. Supports processing multiple items sequentially. Throws an error if the removal fails.