If I have a list of filenames in a text file that I want to exclude when I run find, how can I do that? For example, I want to do something like:
find
fi
This is what i usually do to remove some files from the result (In this case i looked for all text files but wasn't interested in a bunch of valgrind memcheck reports we have here and there):
find . -type f -name '*.txt' ! -name '*mem*.txt'
It seems to be working.