我有很多文件名如下

create_to_abc.txt

create_to_info.txt

create_to_pass.txt

create_to_user_pass.ext

并想要从上述文件名中删除create_to_,因此它看起来应该像

abc.txt

info.txt

pass.txt

user_pass.ext

最佳答案

使用mmv重命名多个文件。

mmv -m "create_to_*" "#1"

关于linux - 从目录中的文件名中删除固定模式,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/43047542/

10-11 00:48