install: use long arguments format (#7403)

This commit is contained in:
Reinhart Previano Koentjoro
2021-11-10 15:51:46 +07:00
committed by GitHub
parent 1805d780f2
commit 87e3e877fa
2 changed files with 8 additions and 8 deletions

View File

@@ -10,16 +10,16 @@
- Copy files to the destination, setting their ownership:
`install -o {{user}} {{path/to/source}} {{path/to/destination}}`
`install --owner {{user}} {{path/to/source}} {{path/to/destination}}`
- Copy files to the destination, setting their group ownership:
`install -g {{user}} {{path/to/source}} {{path/to/destination}}`
`install --group {{user}} {{path/to/source}} {{path/to/destination}}`
- Copy files to the destination, setting their `mode`:
`install -m {{+x}} {{path/to/source}} {{path/to/destination}}`
`install --mode {{+x}} {{path/to/source}} {{path/to/destination}}`
- Copy files and apply access/modification times of source to the destination:
`install -p {{path/to/source}} {{path/to/destination}}`
`install --preserve-timestamps {{path/to/source}} {{path/to/destination}}`