-r, --recursive
Copy directories recursively.
An option of cpx.
Usage
cpx -r SOURCE... DIRECTORY
cpx --recursive SOURCE... DIRECTORYDetails
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-r | --recursive | none | copy directories recursively |
Examples
Update a mirror, copying only files that are newer
cpx -ru src/. mirror/Copy a tree, replacing every symbolic link with the file it points to
cpx -rL vendor/ vendor-flat/Copy through a symlinked directory named on the command line only
cpx -rH latest snapshotCopy a template's contents into an existing directory, not inside it
cpx -rT template/ newproject/Add missing default files without overwriting customized ones
cpx -r --update=none defaults/. config/Help in the terminal
gnux help cpx --recursive