#progress #progress-bar #copy #cli #replace

app cpui

A modern replacement for cp command with progress bar and advanced features

1 unstable release

new 0.1.0 Dec 11, 2024

#724 in Filesystem

Download history 150/week @ 2024-12-09

150 downloads per month

MIT license

18KB
381 lines

cpui

A TUI (Terminal User Interface) based replacement for the traditional cp command with an interactive progress bar and advanced features.

Features

  • Interactive progress bar showing both total and per-file progress
  • Real-time transfer speed display
  • Recursive directory copying support
  • Graceful handling of Ctrl+C interruption
  • Modern terminal UI using ratatui

Installation

cargo install cpui

Usage

Basic file copy:

cpui source.txt destination.txt

Recursive directory copy:

cpui -r source_dir destination_dir

Development

Requirements:

  • Rust 1.75 or higher
  • Cargo

Build from source:

git clone https://github.com/zaneleong/cpui
cd modern-cp
cargo build --release

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Zane Leong (2024)

Dependencies

~10–21MB
~294K SLoC