Skip to content

lujinda/replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#python开发的文件内容批量替换小工具

安装

sudo python setup.py install

使用帮助

ljd@08:07:37:replace$ replace --help Usage: replace [options] target_path

Options:
 --version             show program's version number and exit
 -h, --help            show this help message and exit
 --filter_filename=PATTERN
                    exclude files matching PATTERN
 --include_filename=PATTERN
                    only include files matching PATTERN(high priority)
-s SOURCE_RE_STRING, --source=SOURCE_RE_STRING
                    source re pattern
-t TARGET_STRING, --target=TARGET_STRING
                    target string
-H                    include hidden file
-i                    prompt before every replace

About

python开发的批量替换文件内容小工具

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages