richardrigutins/Replace in files
Find and replace text in files by matching strings.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| files | The files to be searched. It can be the path to a file or a glob pattern (e.g. `**/*.txt`). | yes | — |
| replacement-text | The text that will replace the matched text. | yes | — |
| search-text | The text that will be replaced. | yes | — |
| encoding | (Optional) The encoding of the files to be searched. The following values are supported: `ascii`, `utf8`, `utf16le`, `ucs2`, `base64`, `latin1`. Defaults to `utf8`. | no | utf8 |
| exclude | (Optional) The files to be excluded from the search. It can be the path to a file or a glob pattern (e.g. `**/*.md`). | no | "" |
| max-parallelism | (Optional) The maximum number of files to process in parallel. Defaults to `10`. | no | 10 |
Outputs
no outputs