Blame

4bc507 Niklas Polke 2026-08-13 23:27:50
Create INSTALL
1
# INSTALL
2
3
:::info
4
Usage: install [OPTION]... [-T] SOURCE DEST
5
6
or: install [OPTION]... SOURCE... DIRECTORY
7
8
or: install [OPTION]... -t DIRECTORY SOURCE...
9
10
or: install [OPTION]... -d DIRECTORY
11
:::
12
13
## example
14
15
```bash
16
sudo install -d -o root -g nano -m 2750 /var/backups/nanopi
17
```
18
19
### options
20
- d create all components of the specified directories
21
- o/--owner= set ownership (super-user only)
22
- g/--group= set group ownership, instead of process' current group
23
- m/--mode= set permission mode (as in chmod), instead of rwxr-xr-x