Skip to content

多线程文件替换工具. fast replace file content

License

Notifications You must be signed in to change notification settings

esrrhs/fastreplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastreplace

Go Report Card

多线程文件替换工具

使用

  • 遍历当前目录及子目录的所有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

About

多线程文件替换工具. fast replace file content

Resources

License

Stars

Watchers

Forks

Packages

No packages published