1 unstable release
0.1.0 | Apr 12, 2022 |
---|
#1847 in Text processing
5KB
61 lines
Replace
Replace string in file.
rep 0.1.0
Batch replace text file
USAGE:
rep.exe [OPTIONS] --from <from> --input <input> --to <to>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-i, --input <input> File path to replace
-e, --ext <ext> File extensions use * to accept all ext [default: *]
-f, --from <from> Original string
-t, --to <to> Replaced string
Example
rep -i public/wiki/ -e html -f 'link rel="stylesheet" href="' -t 'link rel="stylesheet" href="/wiki/'
Dependencies
~6–15MB
~169K SLoC