ginstall
Copy files with permission and ownership settings, or create directories. Destructive operation; use --dry_run to preview changes. Returns JSON paths and status.
Instructions
Copy files and set attributes like permissions and ownership — GNU-compatible alias for 'install'. Destructive: creates or overwrites target files, creates directories with --directory/--parents, and changes file metadata. Default mode is 755. Use --dry_run to preview without touching the filesystem. Returns JSON with installation paths and status. Use when GNU install semantics or BSD-compatible behavior is needed. Not for simple copying — use 'cp' for copying without permission setting. Not for the standard install interface — use 'install'. See also 'install', 'cp'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allow_overwrite | No | Allow replacing an existing destination. | |
| directory | No | Create directories instead of installing a file. | |
| dry_run | No | Report operations without changing files. | |
| mode | No | Octal mode applied to installed paths. | 755 |
| parents | No | Create missing parent directories. | |
| paths | No | SOURCE DESTINATION, or directories with --directory. |