014_编写批量修改扩展名脚本,如批量将 txt 文件修改为 doc 文件时间:2023-03-09 18:37:18 #!/bin/bash#执行脚本时,需要给脚本添加位置参数 带参for i in "ls *.$1"do #去尾 mv $i ${i%.*}.$2done