mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:33:43 +02:00
install: use long arguments format (#7403)
This commit is contained in:
parent
1805d780f2
commit
87e3e877fa
2 changed files with 8 additions and 8 deletions
|
@ -10,16 +10,16 @@
|
|||
|
||||
- Copie des fichiers vers une destination en mettant à jour leur propriétaire :
|
||||
|
||||
`install -o {{utilisateur}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}`
|
||||
`install --owner {{utilisateur}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}`
|
||||
|
||||
- Copie des fichiers vers une destination en mettant à jour leur groupe d'appartenance :
|
||||
|
||||
`install -g {{utilisateur}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}`
|
||||
`install --group {{utilisateur}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}`
|
||||
|
||||
- Copie des fichiers vers une destination en mettant à jour leur mode :
|
||||
|
||||
`install -m {{+x}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}`
|
||||
`install --mode {{+x}} {{chemin/fichier/source}} {{chemin/repertoire/destination}}`
|
||||
|
||||
- Copie des fichiers en mettant à jour leur dates d'accès et de modification à partir de leurs sources respectives :
|
||||
|
||||
`install -p {{chemin/fichier/source}} {{chemin/repertoire/destination}}`
|
||||
`install --preserve-timestamps {{chemin/fichier/source}} {{chemin/repertoire/destination}}`
|
||||
|
|
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue