Skip to Content
gnux

-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... DEST

Details

ShortLongValueDefaultMeaning
-C--comparenonecompare 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

On this page