LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

para-cada

Automate repetitive file-based tasks using glob expressions

TLDR

Run a command for each matching file
$ para-cada [glob_pattern] -- [command]
copy
Preview operations without executing (dry run)
$ para-cada --dry-run [glob_pattern] -- [command]
copy
Extract all .tgz archives in current directory
$ para-cada '*.tgz' -- tar xzf {}
copy

SYNOPSIS

para-cada [options] globpattern **--** command_

DESCRIPTION

para-cada ("for each" in Spanish) is a CLI tool that automates repetitive file-based tasks. It executes a command for each file matching a glob expression, replacing {} with the matched filename. It supports batch processing, Python-based filtering and transformation of values, concurrent execution, dry-run previews, and plugin support for advanced operations.

PARAMETERS

--dry-run

Preview operations without executing them.
--help
Display help information.

CAVEATS

Requires Python. The glob pattern should be quoted to prevent shell expansion. Limited to file-based operations with glob matching.

HISTORY

para-cada was created by gergelyk and is written in Python. Available via PyPI with pip install para-cada.

SEE ALSO

find(1), xargs(1), fd(1)

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