1. 使用范例
范例1: 批量修改文件名
[root@localhost data]# touch {a,b,c,d,e}.txt
[root@localhost data]# ls
a.txt b.txt c.txt d.txt e.txt
[root@localhost data]# rename ".txt" ".avi" *
[root@localhost data]# ls
a.avi b.avi c.avi d.avi e.avi
标签:class touch blog cal gpo local 修改 txt pos
范例1: 批量修改文件名
[root@localhost data]# touch {a,b,c,d,e}.txt
[root@localhost data]# ls
a.txt b.txt c.txt d.txt e.txt
[root@localhost data]# rename ".txt" ".avi" *
[root@localhost data]# ls
a.avi b.avi c.avi d.avi e.avi
标签:class touch blog cal gpo local 修改 txt pos
原文地址:https://www.cnblogs.com/joechu/p/8664367.html