一个 bash 脚本请求(或 fish 脚本)。我有一堆文件,例如:
SDF1211B-03 - name - lastname.info
SDF1213B-04 - names - lastnames.info
SDF1211B-05 - name & name - lastname & lastname.info
但我想将它们全部更改为:
name - lastname.info
names - lastnames.info
name & name - lastname & lastname.info