-C, --compare
Compare content of source and destination files, and if no change to content, ownership, and permissions, do not modify the destination at all.
An option of installx.
Usage
installx -C SOURCE... DEST
installx --compare SOURCE... DESTDetails
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-C | --compare | none | compare content of source and destination files, and if no change to content, ownership, and permissions, do not modify the destination at all |
Examples
Leave unchanged files untouched
installx -C -m 644 docs/*.md /usr/share/doc/app/Help in the terminal
gnux help installx --compare