All apps/rm

rm

rm

Remove files and directories.

Runs as rm|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 6 fields

Remove files or directories. Leaves out options not in the completion spec.

Opens the form; the finished command lands at your prompt, unrun
otty gui rm
Remove filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or directories*
any
Confirm each removal
-i
Verbose
-v
TasksEach one presets the form for one job
Remove files, confirming each
targetsinteractiveverbose
Remove a directory tree
targetsrecursiveinteractiveverbose
ParametersOnly these flags are editable in the form
Files or directories
path · positional 0 · repeatable
Recursive
boolean
-r-R
Remove empty directories too
boolean
-d
Force, no prompts
boolean
-f
Confirm each removal
boolean
-i
Verbose
boolean
-v
SourcesEvery flag above is checked against these
fig
completion

github.com

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