All apps/ls

ls

ls

List directory contents.

Runs as ls|macOS

Command form

ai-draft · 2 tasks · 13 fields

List files and directories with the common display and sort options. Colour, ACL, flag and extended-attribute options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui ls
List directory contentsExample values, fixed in this page — nothing here reaches a terminal
Basic
Paths
any
Include hidden files
-a
Long format
-l
Human-readable sizes
-h
TasksEach one presets the form for one job
Detailed listing
pathsalllonghuman
Newest first
pathslongsort_time
ParametersOnly these flags are editable in the form
Paths
path · positional 0 · repeatable
Include hidden files
boolean
-a
Hidden files except . and ..
boolean
-A
Long format
boolean
-l
Human-readable sizes
Only has effect together with long format.
boolean
-h
Recurse into subdirectories
boolean
-R
Sort by modification time
boolean
-t
Sort by size
boolean
-S
Reverse sort order
boolean
-r
Mark file types (/ * @ ...)
boolean
-F
One entry per line
boolean
-1
List directories themselves
boolean
-d
Show inode numbers
boolean
-i
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed ls against its version. A form that does not match your version is not offered.