📅  最后修改于: 2022-03-11 14:50:49.739000             🧑  作者: Mango
find /path/to/search -type d \! -exec test -e '{}/file_no_hereName' \; -print
find . -type d '!' -exec test -e "{}/your_file" ';' -print
https://unix.stackexchange.com/questions/158238/find-directories-not-containing-a-file