首页 > 技术文章 > Linux - rename 批量替换两种模式
jinhh 2018-10-15 15:35 原文
模式一:
rename sub raw *
模式二:
rename 's/sub/raw/g' *
sub
raw
这里支持一定程序的正则匹配