https://github.com/esrrhs/fastreplace
多线程文件替换工具. fast replace file content
https://github.com/esrrhs/fastreplace
Last synced: 2 days ago
JSON representation
多线程文件替换工具. fast replace file content
- Host: GitHub
- URL: https://github.com/esrrhs/fastreplace
- Owner: esrrhs
- License: mit
- Created: 2020-09-18T07:39:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-18T06:22:21.000Z (about 2 years ago)
- Last Synced: 2025-04-03T20:51:14.435Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fastreplace
[
](https://github.com/esrrhs/fastreplace)
[](https://github.com/esrrhs/fastreplace)
[](https://goreportcard.com/report/github.com/esrrhs/fastreplace)
[](https://github.com/esrrhs/fastreplace/releases)
[](https://github.com/esrrhs/fastreplace/releases)
[](https://hub.docker.com/repository/docker/esrrhs/fastreplace)
[](https://github.com/esrrhs/fastreplace/actions)
多线程文件替换工具
# 使用
* 遍历当前目录及子目录的所有txt文件,把内容aaa改为bbb
```
# ./fastreplace -path ./ -file .txt -from aaa -to bbb
```
* 更多参数参考-h
```
Usage of fastreplace.exe:
-file string
file format
-from string
old string
-path string
replace path (default "./")
-thread int
replace thread (default 32)
-to string
new string
-v show info
```