| Crates.io | cpui |
| lib.rs | cpui |
| version | 0.1.4 |
| created_at | 2024-12-11 20:38:42.97976+00 |
| updated_at | 2025-01-06 23:23:09.839476+00 |
| description | A modern replacement for cp command with progress bar and advanced features |
| homepage | |
| repository | https://github.com/Bengerthelorf/cpui |
| max_upload_size | |
| id | 1480516 |
| size | 1,031,849 |
A modern, user-friendly command-line file copying tool that goes beyond being just a replacement for the traditional cp command. It provides a rich interactive interface and advanced features for efficient file management.

🔄 Real-time Progress Tracking
🎯 Smart Copy Control
⚙️ Advanced Capabilities
Using Cargo:
cargo install cpui
Building from source:
git clone https://github.com/Bengerthelorf/cpui
cd cpui
cargo build --release
Copy a single file:
cpui source.txt destination.txt
Copy a file to a directory:
cpui source.txt destination_directory/
Recursively copy a directory:
cpui -r source_directory destination_directory
Exclude specific files or directories:
# Single pattern
cpui -r source_dir dest_dir --exclude node_modules
# Multiple patterns
cpui -r source_dir dest_dir --exclude node_modules,target,.git
# Using wildcards
cpui -r source_dir dest_dir --exclude "*.tmp,*.log"
Preserve file attributes (permissions, timestamps, etc.):
cpui --preserve source.txt destination.txt
Large File Transfers
Directory Copying
-r for recursive copying--excludeFile Attribute Management
--preserveAvailable arguments:
SOURCE: Source file or directory pathDESTINATION: Destination file or directory path-r, --recursive: Enable recursive directory copying--preserve: Maintain file attributes--exclude <PATTERN>: Exclude files/directories matching patterns (comma-separated)We welcome contributions! Here's how you can help:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)# Clone the repository
git clone https://github.com/Bengerthelorf/cpui
cd cpui
# Run tests
cargo test
# Build in debug mode
cargo build
# Build for release
cargo build --release
This project is licensed under the MIT License - see the LICENSE file for details.
Zane Leong (2025)
Thanks to all contributors who have helped shape this project!
If you find this tool useful, please give us a star ⭐! Your support motivates us to continue improving!
Having issues or suggestions? Feel free to raise an Issue!