linux 使用find命令查找目标文件 -path -prune 参数的使用以及文件名中出现特殊符号的查找方法

1、-path -prune用法 背景介绍:linux       在使用linux查找文件时,有些目录不须要查找,在查到这些目录时会打印不少无用提示信息,如:正则表达式 方法:code        使用-path -prune参数达到屏蔽这些目录的效果blog 排除一个:find ./ -path /proc  -prune -o -name target_file -type d -prin
相关文章
相关标签/搜索