Actions8
List Directory
AI-generatedSummary
List contents of a specified directory on an SMB share using the smbclient CLI.
Inputs
- Smbclient Path — Custom path to the smbclient binary if it is not in the system PATH; defaults to 'smbclient'.
- Directory — The directory path on the SMB share to list; defaults to '/'.
Output shape
A single JSON object containing the requested directory path and an array of entries representing files and folders within that directory.
Entries exclude '.' and '..' and avoid special entries like 'blocks available' or purely numeric names. Each entry includes file/folder name, size, date, time, attributes, and a boolean indicating if it is a directory.