转自:http://blog.gxnews.com.cn/u/12/a/735343.html 一、find and cp find /home -name '*.conf'|xargs -I {} cp -r {} /home/conf/ 二、find and rm find /home -name 'test-file-*' | xargs rm -rf