ptt文章的改名工具
ptt-article-parser的Python项目详细描述
一、PTT语言
功能
- 新南威尔士州迪尔
- 中新网
用法
PTT Article Parser (PAP) Usage: pap rename [--format=<format>] [--dir=<file>] <file>... pap rename [--format=<format>] [--dir=<file>] --interactive pap (--help | --version) Options: -v --version Show version. -h --help Show this. -f --format=<format> Set output format. [default: [{board}] {title} [{author}] ({time:%Y%m%d%H%M%S}).ans] -d --dir=<file> Read additional ".DIR" file. The tool always tries to read the ".DIR" file under the parent folder of the article. Use this option to read from other locations. -i --interactive Use interactive mode, get file name from stdin. <file> File path. If the file doesn't exists, pap will try to parse it as glob pattern.
例如:
pap rename ./M.*
输出屏幕截图
更改日志
- 0.5.0(2018年6月12日)
- 更新依赖项。
- 修复:处理CRLF。
- 重构:ptt_article_parser.tools->;ptt_article_parser.rename
- 放下uao_decode.py,切换到uao。
- 0.4.0(2018年2月19日)
- 更改:自动查找.dir文件。
- 0.3.0(2017年12月5日)
- parse.dir文件,默认使用标题。
- 0.2.1(2016年5月14日)
- 从旧编辑中提取作者。
- 修复安装问题(可能更多?).
- 0.2.0(2016年4月16日)
- 更改全局模式的工作方式。
- 修复相同的文件名错误。
- 重写。尝试匹配最佳结果。
- 0.1.0(2016年4月15日)
- 第一次释放。