So when you want to search for a file with a filename containing the string xyz from a directory to all depths, you write
sudo find path -name '*xyz*'
How do I find all files without the string xyz?
To search for files not containing
To search for paths (files and directories) not containing
To search case-insensitively prepend name or path with