https://github.com/keaz/rust-copy
A replacement for cp
https://github.com/keaz/rust-copy
cp file-copy linux rust
Last synced: about 2 months ago
JSON representation
A replacement for cp
- Host: GitHub
- URL: https://github.com/keaz/rust-copy
- Owner: keaz
- Created: 2023-09-16T07:34:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-05T16:08:59.000Z (about 2 years ago)
- Last Synced: 2025-09-30T06:53:47.379Z (9 months ago)
- Topics: cp, file-copy, linux, rust
- Language: Rust
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```sh
rfcp -s=/source/folder -d=/destination/folder
```
### Install Using Homebrew
```
brew install keaz/homebrew/rfcp
```
## Examples
### Copy root folder with content the options.
```sh
rfcp -s=/source/folder -d=/destination/folder
```
### Copy content without creating the root folder.
```sh
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)