All apps/install

install

install

Copy files and set attributes (mode, owner, group) on the copies.

Runs as install|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 12 fields

Copy files to a destination with the given mode, owner and group, or create directories. The last path is the destination. File flags (-f) and mmap control (-M) are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui install
Install filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Sources and destination*
any
Mode
string
Owner
string
Group
string
TasksEach one presets the form for one job
Install files with a mode
pathsmodeownergroup
Create directories
pathsmkdirsmode
ParametersOnly these flags are editable in the form
Sources and destination
Source files followed by the destination file or directory as the last entry.
path · positional 0 · repeatable
Mode
Octal or symbolic mode; the default is rwxr-xr-x (0755).
string
-m755644600
Owner
Owner name or numeric UID.
string
-o
Group
Group name or numeric GID.
string
-g
Create directories
Create directories instead of copying; missing parents are created.
boolean
-d
Back up existing files
Rename existing targets to file.old before overwriting.
boolean
-b
Backup suffix
Suffix used with the backup option.
string
-B
Compare and copy
Do not change the target modification time when the files are the same.
boolean
-C
Preserve modification time
Preserve the source modification time.
boolean
-p
Strip binaries
Run strip(1) on the installed binaries.
boolean
-s
Safe copy
Install through a temporary file so a failed copy leaves the target untouched.
boolean
-S
Verbose
Show when compare-and-copy actually installs something.
boolean
-v
SourcesEvery flag above is checked against these
src
completion

github.com

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