List a directory
amiga_lsLists files and drawers in an Amiga directory, showing type, size, protection bits, date, time, and name; omit the path to list mounted volumes.
Instructions
List the files and subdirectories ('drawers') in one Amiga directory, drawers first then by name. One line per entry: 'd' for a drawer or '-' for a file, the size in bytes ('(dir)' for drawers), the protection bits as List shows them (hsparwed), the date and time, the name. Amiga paths start with a volume or assign and a colon, e.g. 'SYS:', 'Work:Projects', 'RAM:'; '/' is the parent, not the root. With no path it lists the mounted volumes (on Zenix, '/'). Not recursive. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | the directory, e.g. 'SYS:C' or 'Work:'; empty lists the volumes |