RT,比如我有如下的文件夹名:
1,2,3,4,5
我要依次改成
chapter01,chapter02,chapter03,chapter04,chapter05
【求助】如何批量修改文件夹名?
-
- 帖子: 679
- 注册时间: 2010-06-19 11:44
- astolia
- 论坛版主
- 帖子: 6703
- 注册时间: 2008-09-18 13:11
Re: 【求助】如何批量修改文件夹名?
代码: 全选
rename 's/(\d)/chapter0$1/' *
-
- 帖子: 679
- 注册时间: 2010-06-19 11:44
Re: 【求助】如何批量修改文件夹名?
谢了啊astolia 写了:代码: 全选
rename 's/(\d)/chapter0$1/' *
-
- 帖子: 1453
- 注册时间: 2008-05-24 8:30
Re: 【求助】如何批量修改文件夹名?
代码: 全选
rename 's/^/chapter0/' ?