10 stable releases
1.1.7 | Mar 27, 2023 |
---|---|
1.1.6 | Mar 24, 2023 |
1.1.3 | Jan 16, 2023 |
0.1.0 | Nov 27, 2021 |
#132 in Development tools
111 downloads per month
53KB
1K
SLoC
cp zippy
A zippy alternative to cp
, a tool to copy files and directories.
Installation
Use prebuilt binaries
Binaries for a number of platforms are available on the release page.
Build from source
$ cargo install cpz
To install cargo, follow these instructions.
Usage
Background: https://github.com/SUPERCILEX/fuc/blob/master/README.md
Copy a file:
$ cpz from to
Copy a directory:
$ cpz from_dir to_dir
Overwrite existing files:
$ cpz -f from existing
Other options:
$ cpz --help
A zippy alternative to `cp`, a tool to copy files and directories
Usage: cpz[EXE] [OPTIONS] <FROM>... <TO>
Arguments:
<FROM>...
The file(s) or directory(ies) to be copied
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`.
<TO>
The copy destination
Options:
-f, --force
Overwrite existing files
-h, --help
Print help (use `-h` for a summary)
-V, --version
Print version
Dependencies
~2.5–8.5MB
~154K SLoC