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?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community