-u, --update
Control which existing files are updated: all, none, or older (the default for -u).
An option of cpx.
Usage
cpx -u SOURCE... DIRECTORY
cpx --update[=string] SOURCE... DIRECTORYDetails
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-u | --update | string (optional) | control which existing files are updated: all, none, or older (the default for -u) |
Examples
Update a mirror, copying only files that are newer
cpx -ru src/. mirror/Add missing default files without overwriting customized ones
cpx -r --update=none defaults/. config/Help in the terminal
gnux help cpx --update