How do I exclude a directory when using `find`? December 12, 2023 by admin :/$ sudo find / -type d -name *openssl* -not -path "/mnt/*" 2>/dev/null