shell 小功能 发表评论 rename_package(){ ##删除文件名中的() newname=echo $my_deploy_file | sed 's/[(|)]//g' mv $my_deploy_file $newname } #调用 rename_package