rust-parallel

Command-line utility to execute commands in parallel and aggregate their output.

Similar interface to GNU Parallel or xargs but implemented in rust and tokio. * Supports running commands read from stdin or input files similar to xargs. * Supports ::: syntax to run all combinations of argument groups similar to GNU Parallel. * Optional transformation of inputs using regular expression capture groups.

See examples for example commands and manual for more details.

Prevents output interleaving and is very fast.

Listed in Awesome Rust - utilities

Crates.io CI workflow

Contents:

Installation:

Recommended:

  1. Download a pre-built release from Github Releases for Linux or MacOS.
  2. Extract the executable and put somewhere in your $PATH.

For manual installation/update: 1. Install Rust 2. Install the latest version of this app from crates.io: $ cargo install rust-parallel 3. The same cargo install rust-parallel command will also update to the latest version after initial installation.

Documents:

  1. Examples - complete runnable commands to give an idea of overall features.
  2. Manual - more detailed manual on how to use individual features.
  3. Benchmarks
  4. Output Interleaving - output interleaving in rust-parallel compared with other commands.

Features:

Tech Stack: