cp command for MoonX.
moonx cli/cp@0.2.4 [--no-preserve=mode] [-R] [-H|-L|-P] [-f|-i|-n] [-u|--update=MODE] [-b|--backup[=CONTROL]] [-S SUFFIX] [-T] [-v] SOURCE... DEST| Option | Description |
|---|---|
| --no-preserve=mode | Required for copying to a new destination. |
| -R, -r, --recursive | Copy directory trees. |
| -H / -L / -P | Select source-link traversal. |
| -n, --no-clobber | Skip existing targets. |
| -u, --update[=MODE] | Update selection: all, older, none or none-fail. |
| -T, --no-target-directory | Treat destination as a complete path. |
| -v, --verbose | Show copied paths. |
| --help / --version | Show help / package version. |
moonx cli/cp@0.2.4 --no-preserve=mode source.txt new.txt
moonx cli/cp@0.2.4 --no-preserve=mode -R source-dir new-dir