5 releases (2 stable)

2.0.0 Oct 28, 2023
1.0.0 Oct 26, 2023
0.2.2 Oct 21, 2023
0.1.1 Oct 17, 2023

#345 in Unix APIs

MIT/Apache

22KB
516 lines

A Replacement for cp

This is a cli tool that try to replace unix cp command. This provides better performance than cp and more suitable for SSD.

Usage

Install Using cargo

cargo install --path .

Execute

rfcp -s=/source/folder -d=/destination/folder

Install Using Homebrew

brew install keaz/homebrew/rfcp

Examples

Copy root folder with content the options.

rfcp -s=/source/folder -d=/destination/folder

Copy content without creating the root folder.

rfcp -s=/source/folder/ -d=/destination/folder

Options

-s : Souce folder -d : Destintion folder -t : Number of threads to use copy files (default 3) -r : Number of threads to use read the filed (default 1) Note: for HDD use the default -b : Buffer size (default 10240)

Dependencies

~3–13MB
~119K SLoC