Linux command
para-cada 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Run a command for each matching file
para-cada [glob_pattern] -- [command]
Preview operations
para-cada --dry-run [glob_pattern] -- [command]
Extract all .tgz archives
para-cada '*.tgz' -- tar xzf {}
说明
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.
参数
- --dry-run
- Preview operations without executing them.
- --help
- Display help information.
FAQ
What is the para-cada command used for?
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.
How do I run a basic para-cada example?
Run `para-cada [glob_pattern] -- [command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --dry-run do in para-cada?
Preview operations without executing them.