1
0
Fork 0
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:
Reinhart Previano Koentjoro 2021-11-10 15:51:46 +07:00 committed by GitHub
parent 1805d780f2
commit 87e3e877fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -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}}`

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}}`