- 帖子
- 6
- 积分
- 29
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2012-4-2
|
目录下有几百个文件,已经用改名工具统一格式
chapter-20120713-1.txt
chapter-20120713-2.txt
chapter-20120713-3.txt
chapter-20120716-1.txt
chapter-20120716-2.txt
chapter-20120716-3.txt
chapter-20120717-1.txt
chapter-20120717-2.txt
chapter-20120717-3.txt
chapter-20120718-1.txt
chapter-20120718-2.txt
chapter-20120718-3.txt
chapter-20120919-1.txt
chapter-20120919-2.txt
chapter-20120919-3.txt
......
现在想合并同一天的方便管理
请问如何根据文件名内容分拣出同一天的文件? (其中某几天会有超过3个部分的,实在不行就区别对待吧)
然后当成参数传递下去继续处理, 可以执行例如:
copy chapter-20120713-1.txt+chapter-20120713-2.txt+chapter-20120713-3.txt chapter-20120713-1_joined.txt |
|