sed_multifile
Apply sed patterns to multiple files matching a glob pattern. Specify the target directory and optionally create backup files for efficient, batch text modifications.
Instructions
Apply sed pattern to multiple files matching a glob pattern
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backup | No | Create backup files | |
directory | No | Starting directory for search | . |
filePattern | Yes | File glob pattern (e.g., "*.ts", "src/**/*.js") | |
pattern | Yes | Sed pattern to apply |