pipeprogress

Crates.iopipeprogress
lib.rspipeprogress
version2023.3.0
sourcesrc
created_at2020-06-19 04:05:50.433904
updated_at2023-03-24 15:13:15.45337
descriptionProgress bar for long pipe operations
homepagehttps://github.com/salt-labs/pipeprogress
repositoryhttps://github.com/salt-labs/pipeprogress
max_upload_size
id255580
size108,138
MAHDTech (MAHDTech)

documentation

README

Pipe Progress

Table of Contents

Status

Status Description
Dependabot Dependency checker
Rust Rust
Greetings Greets new users to the project.
Docker Testing and building containers
Labeler Automates label addition to issues and PRs
Release Ships new releases :ship:
Stale Checks for Stale issues and PRs
Super-Linter Linting

Overview

Pipe Progress is a command-line utility to display progress during long pipe operations.

This utility was created as part of the amazing training course titled Hands-On Systems Programming with Rust by Nathan Stocks. The course content is available from Agile perception.

Usage

There are a couple of different methods to running the code from this repository.

Pre-build release

Download a prebuilt release in your desired architecture and place the binary into your PATH before running the following.

pp --help

Cargo release

Pipe Progress can be installed using cargo as follows

cargo install pipeprogress

pp --help

From source

If you want to run from source, you can clone this repository and build with cargo as follows.

git clone git@github.com:salt-labs/pipeprogress.git

cd pipeprogress

cargo build --release

./target/release/pp --help

Examples

dd if=/dev/urandom bs=1M count=1024 | pp | dd of=random_data.bin

# Output is as follows; bytes, elapsed time, bps rate
970997760 0:00:06 [6970429b/s]
Commit count: 3

cargo fmt