install

Copy files and set attributes (POSIX, toybox)

Syntax:

install [-dDpsv] [-g group] [-o user] [-m mode] [-t target] [source...] [dest]

Runs on:

QNX OS

Options:

-D
Create leading directories for dest.
-d
Make parent directories as needed (act like mkdir -p).
-g group
Make copy belong to group.
-m mode
Set permissions to mode.
-o user
Make copy belong to user.
-p
Preserve timestamps.
-s
Call strip -p.
-t target
Copy files to target directory (no dest).
-v
Be verbose.
dest
The pathname of the directory to which install copies.
source
The pathname of the directory that install copies from.

Description:

The install utility copies files and sets attributes.

This utility is provided as part of the toybox package. For information on how to enable it, see toybox.

Contributing author:

Rob Landley and the toybox project (see https://landley.net/toybox/).

Page updated: