cp拷贝时提示 目标不是目录 在多带两个参数即可 ls|grep -v start_|xargs -t -i cp -rf {} /opt/xyrpg/rpgserver_s1/Robot/ 结果 转载于:https://blog.51cto.com/alwaysyunwei/1396966