find -exec 批量使用方法

查找当前目录批量文件内容后复制到指定目录当中

find . -type f -name "*.log" -exec cp {} /目标目录/ ;
原文地址:https://www.cnblogs.com/imp-W/p/10477168.html