💾 Archived View for freeshell.de › tldr › install.gmi captured on 2022-04-28 at 18:48:55. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

install

Copy files and set attributes.
Copy files (often executable) to a system location like `/usr/local/bin`, give them the appropriate permissions/ownership.

More information.

install {path/to/source_file1 path/to/source_file2 ...} {path/to/destination}
install --owner {user} {path/to/source_file1 path/to/source_file2 ...} {path/to/destination}
install --group {user} {path/to/source_file1 path/to/source_file2 ...} {path/to/destination}
install --mode {+x} {path/to/source_file1 path/to/source_file2 ...} {path/to/destination}
install --preserve-timestamps {path/to/source_file1 path/to/source_file2 ...} {path/to/destination}
install -D {path/to/source_file1 path/to/source_file2 ...} {path/to/destination}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY