How to batch rename (format) file (folder) names based on the original name

First of all, the tool that needs to be used:
Please add a picture description

Baidu
password: qwu2
blue cloud
password: 2r1z

现在需要把这些文档的文件名处理,格式为:4位数字 - 6位数字 - 10位数字,办法如下:
insert image description here
打开工具
insert image description here
切换到 文件批量复制 模块,快捷键如图
insert image description here
找到右下角的 重命名 按钮,点开
insert image description here
把要处理的这些文件拖入进去(如果不能拖动的,需要修复,按F1,工具里面有修复),或者右边的导入按钮导入这些文件
insert image description here
再勾选规则,下面一排的按钮显示 无规则
insert image description here
点击其中一个,编辑一下要从原文件名中提取的规则
insert image description here
规则界面
insert image description here
我要处理文件名是数字,这里就只勾选数字(其实勾不勾无所谓,文件名只有数字),如果要名称的类型有点多,可以过滤处理。选择从第1个字符起,选择4个字的长度,这个作为规则1
insert image description here
规则2就是,从第5个起,选6个长度
insert image description here
规则3就是,从第11个起,选10个长度
insert image description here
然后选择方案3里的,纯自定义内容,方便自己编辑一个格式
insert image description here
写出格式来:xxxx - xxxxxx - xxxxxxxxxx,对应的就是图里面的
insert image description here
执行之后,左侧显示了结果,再看看实际文件的结果
insert image description here
好了,没问题了
insert image description here
建议:执行之前最好提取出来,设定到文件替换规则的右侧,避免在重命名的时候写错规则不好还原,批量还原的方法,参考《无规律快速批量重命名文件(夹)-固定命名》这个文章的方法
insert image description here

Guess you like

Origin blog.csdn.net/yy779587715/article/details/127740990