LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

machma

Run commands in parallel with live feedback

TLDR

Run a command for each input line
$ find . -name '*.png' | machma convert {} {.}.jpg
copy
Parallel jobs with replacement tokens
$ cat [hosts.txt] | machma ssh {} uptime
copy
Show help
$ machma -h
copy

SYNOPSIS

machma [*options*] *command* [*args*...]

DESCRIPTION

machma executes a command template once per stdin line (or argument set), in parallel, with a live terminal UI showing progress and results. Placeholders such as {} expand to the current item (similar in spirit to xargs / GNU parallel but with interactive feedback). Written by fd0.

PARAMETERS

*command* [*args*...]

Command template; {} is replaced by each input value.
stdin lines supply the items to process. Concurrency and failure handling flags are available via machma -h.

CAVEATS

Unbounded parallelism can overwhelm remote hosts or disks—limit jobs when needed. Quote carefully when templates include shell metacharacters.

SEE ALSO

xargs(1), parallel(1), rush(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid