拷贝.h类型文件 find ./ -name ""*.h" |xargs -I{} cp {} dir 不包括.h类型文件 find . -type f ! -name "*.h" find 默认递归查找,-maxdepth指定递归层次