I have a directory with 10000 files. I want to select those files for processing that don't contain the string "_B". There are other files with the character B that I don't want to exclude.
I tried to do the following:
But this just selects all the files with "_B" instead. If I remove the tilde in front of "contains", none of the files are getting selected. What do I change the line into to get the desired results?