I am trying to exclude a certain string from a file search.
Suppose I have a list of files: file_Michael.txt, file_Thomas.txt, file_Anne.txt.
I want to be ab
You can use find to do this:
$ find . -name '*.txt' -a ! -name '*Thomas.txt'