Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ahmadrosid/rep-cli

💀 Replace text file in bulk.
https://github.com/ahmadrosid/rep-cli

Last synced: 22 days ago
JSON representation

💀 Replace text file in bulk.

Awesome Lists containing this project

README

        

## Replace

Replace string in file.
```bash
Batch replace text file

USAGE:
rep [FLAGS] [OPTIONS] --from --input --to

FLAGS:
--help Prints help information
-h, --hidden Read hidden file
-V, --version Prints version information

OPTIONS:
-e, --ext File extensions use * to accept all ext [default: *]
-f, --from Original string
-i, --input File path to replace
-t, --to Replaced string
```

## Example
```bash
rep -i public/wiki/ -e html -f 'link rel="stylesheet" href="' -t 'link rel="stylesheet" href="/wiki/'
```