find 排除目录

排除当前目录下的config目录和PPL目录,输出所有文件名为config.php的文件

find ./ \( -path ./config -o -path ./PPL \) -prune -o -type f -name "config.php" 



你可能感兴趣的:(find,排除目录)