All apps/du

du

du

Estimate file space usage of files and directories.

Runs as du|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 8 fields

Show disk usage for files and directories. Only the macOS/BSD flags in the completion data are offered.

Opens the form; the finished command lands at your prompt, unrun
otty gui du
Disk usageExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or directories*
any
Human-readable sizes
-h
Summary only
-s
TasksEach one presets the form for one job
Size of each item
pathshumansummary
Sizes one level deep
pathshumandepthtotal
ParametersOnly these flags are editable in the form
Files or directories
path · positional 0 · repeatable
Human-readable sizes
boolean
-h
Summary only
One entry per argument (same as depth 0).
boolean
-s
Include files
boolean
-a
Grand total
boolean
-c
Depth
Show entries this many directories deep.
integer
-d
Follow all symlinks
boolean
-L
Ignore mask
string · repeatable
-I
SourcesEvery flag above is checked against these
fig
completion

github.com

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