A zippy alternative to cp
, a tool to copy files and directories.
Binaries for a number of platforms are available on the release page.
console,ignore
$ cargo install cpz
To install cargo, follow these instructions.
Background: https://github.com/SUPERCILEX/fuc/blob/master/README.md
Copy a file:
console
$ cpz from to
Copy a directory:
console
$ cpz from_dir to_dir
Overwrite existing files:
console
$ cpz -f from existing
Other options:
``console
$ cpz --help
A zippy alternative to
cp`, a tool to copy files and directories
Usage: cpz[EXE] [OPTIONS]
Arguments:
If multiple files are specified, they will be copied into the target destination rather
than to it. The same is true of directory names (`foo/`, `.`, `..`): that is, `cpz a b/`
places `a` inside `b` as opposed to `cpz a b` which makes `b` become `a`.
Options: -f, --force Overwrite existing files
-h, --help
Print help (use -h
for a summary)
-V, --version Print version
```