小编Max*_*huk的帖子

同时重命名多个文件

我有大约 180 个具有相同结构的文件:000-aaaaaaaa.txt.

文件名的正则表达式:/^[0-9]{3}\-[a-zA-Z]+$/gi(3 位数字 + -+ 字母 + .txt)。

我想剪切数字部分和-每个文件名

例如

  • 000-hello.txt -> hello.txt
  • 001-world.txt -> world.txt
  • 002-ubuntu.txt -> ubuntu.txt
  • 003-linux.txt -> linux.txt

command-line files filename batch-rename

9
推荐指数
2
解决办法
4450
查看次数

标签 统计

batch-rename ×1

command-line ×1

filename ×1

files ×1