用rename命令 如果没装的话执行下面这个命令安装rename brew install rename rename 's/^/logo_/' *.png 转载于:https://www.cnblogs.com/yibinpan/p/9602170.html